> This page is for Camera to Cloud.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://next.developer.frame.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://next.developer.frame.io/_mcp/server.

# 操作指南：设置

## 前言





在实施您的 Camera to Cloud 设备之前，让我们确保您已准备好成功所需的一切。





## 注册为开发者

您将需要 `client_secret` 才能让您的设备遵循实施指南。 如果您还未注册为 C2C 开发者，请查看我们的[快速入门指南](./getting-started-with-cloud-device-integrations)了解相关信息。 我们的团队将提供 API 交互所需的凭据。

## 适用于遵循实施指南的工具





虽然并非绝对必要，但拥有这些工具将有助于您跟随我们的教程进行操作，并直接测试 API 交互。





### cURL

这些教程使用 `curl` 演示 Frame.io API 请求。 这个广泛使用的库提供了发出 HTTP 请求的出色命令行界面。 在实施您的设备时，您需要用首选的编程语言复制这些 HTTP 调用。 在这些示例中使用 `curl` 让您可以通过简单地将命令复制到终端中来测试 API 交互。 要在您的系统上验证 `curl` 安装，请在终端中输入此命令：

```shell
curl --version
```





您应该看到类似于以下的输出：





```text
curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL UnixSockets
```

如果没有安装，您可以在[此处](https://curl.se/download.html)找到适用于大多数操作系统的安装程序。 MacOS 或 Linux 用户可以通过 [Homebrew](https://brew.sh/) 安装：

```shell
brew install curl
```





### Python

我们将通过以下管道将 `curl` 的结果传递给 Python，从而完成对 JSON 响应负载的格式化：

```shell
curl https://api.frame.io/health | python -m json.tool
```





要检查 Python 安装情况：





```shell
python --version
```





预期输出：





```text
Python 2.7.16
```

如果未安装，您可以[在此处下载 Python](https://www.python.org/downloads/)。 Python 2.6+ 或 Python 3.x 均兼容这些示例。 虽然不需要 Python，但它可以提高响应的可读性。 或者，[jq](https://stedolan.github.io/jq/) 等工具也提供类似功能。

## 参考实施





您的开发者包包含 Python 参考实施，其中提供示例 CLI 应用程序，用于将媒体作为 C2C Connections 上传到 Frame.io。 在学习完这些指南的每个部分之后，您可能会发现查看参考实现很有帮助，让您可以了解概念在实际代码中的应用。





## 后续步骤

如果您还没有联系我们的团队，我们鼓励您这样做，然后继续阅读[身份验证和授权指南](./implementing-c2c-authentication-and-authorization)。 我们期待为您的实施之旅提供支持。