Google Drive API
APIREST API for files, folders and sharing in Google Drive
- Erişim
- OAuth 2.0 access token
Hakkında
Google's REST API for uploading, searching, downloading, exporting and sharing files in My Drive and shared drives. It is for apps that store files in, or sync files from, users' Drive. Access uses OAuth, and projects get a free daily quota, with billing above it planned.
Neler yapabilirsin
- Upload and download files in a user's Google Drive
- Search files and folders and read their metadata
- Share files and follow changes to keep Drive in sync with your app
Başlarken
- Enable the Google Drive API in a Google Cloud project
- Set up the OAuth consent screen and a client ID
- Get a user access token with a drive scope
Örnek kod
curl "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)" \
-H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN"Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python, JavaScript/TypeScript, Go, Java, C#, PHP, Ruby
- MCP sunucusu
- Uzak sunucu
- Entegrasyonlar
- Google Drive