← 返回
未分类 Key 中文

Dropbox Download

Download a file from Dropbox by providing its file path, returning the file content as binary data.
通过提供文件路径从 Dropbox 下载文件,以二进制数据形式返回文件内容。
foundergraph foundergraph 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 315
下载
💾 0
安装
1
版本
#latest

概述

Dropbox Download

Download files from Dropbox using the /2/files/download endpoint.

Description

This skill downloads a file from a user's Dropbox account. It accepts a file path and an optional revision identifier.

IO

FieldTypeDescription
--------------------------
pathstringThe path of the file to download (required)
revstringOptional revision identifier (deprecated, specify in path instead)
resultbinaryThe downloaded file content

Configuration

  • Integration: dropbox (OAuth2)
  • HTTP Method: POST
  • Endpoint: /2/files/download

Usage

from typing import Annotated

def run(
    pipedream: Annotated[PipedreamAuth, Integration("dropbox")],
    path: Annotated[str, "The path of the file to download."],
    rev: Annotated[str | None, "Please specify revision in path instead."] = None,
):

    # Track initial props for reload comparison
    initial_props = {
          "dropbox", "path", "rev",
    }

    state_manager = PipedreamStateManager(pipedream, "Download File", initial_props, {})
    state_manager.add_prop("dropbox", {"authProvisionId": pipedream.auth_provision_id})

    state_manager.add_prop("path", path)

    rev_config = state_manager.resolve_prop("rev", rev, use_query=False, use_lv=False)
    state_manager.add_prop("rev", rev_config)

    return state_manager.run()

Notes

  • The rev parameter is deprecated; specify revision in the path instead.
  • The file content is returned as binary data.
  • Ensure the Dropbox integration has files.content.read scope.

License

MIT

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 16:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,424 📥 326,585
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 851 📥 334,115
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,245 📥 272,274