Google Docs
用于读取、写入和格式化 Google Docs 文档的 API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
简介
Google Docs API 读写 Google 文档。认证是 OAuth 2.0(未认证请求返回 400,已实测)。
快速开始
需要 OAuth 凭据——未认证调用会失败(实测 400):
curl "https://docs.googleapis.com/v1/documents/YOUR_DOC_ID" \
-H "Authorization: Bearer YOUR_OAUTH_TOKEN"
认证方式
- 创建 Google Cloud 项目 → 启用 Docs API。
- OAuth 2.0 或服务账号 → bearer token。
速率限制与注意事项
- 免费;Google Cloud 配额适用。
- 读写文档、批量更新。
常见问题
Google Docs 免费吗? API 在 Cloud 配额内免费。
为什么没认证会 400? 必须 OAuth(已实测)——请先配置凭据。
能做什么? 读写 Docs 内容。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |