Google Sheets
读取、写入和格式化 Google Sheets 数据的 API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
简介
Google Sheets 提供电子表格 API——基于 OAuth/API key(匿名调用被拒绝 403,已实测)。
快速开始
值(需要认证):
curl "https://sheets.googleapis.com/v4/spreadsheets/1/values/A1" \
-H "Authorization: Bearer YOUR_TOKEN"
{ "error": { "code": 403, "message": "Method doesn't allow unregistered callers... use API Key or OAuth" } }
认证方式
- Google Cloud 项目 → API key 或 OAuth 2.0 凭据。
- 通过
Authorization: Bearer发送(匿名 → 403,已实测)。
速率限制与注意事项
- 免费带限额(看文档)。
- 电子表格。
常见问题
Google Sheets 免费吗? 是的——带认证免费。
为什么 403? 匿名调用被拒绝(已实测)——请使用 API key/OAuth。
认证风格是什么? OAuth 2.0 / API key。
开发 分类更多
| 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 | ↗ |