Zanim zaczniesz korzystać z interfejsów API Google, musisz je włączyć w projekcie Google Cloud. W jednym projekcie Google Cloud możesz włączyć jeden lub więcej interfejsów API. Jeśli nie masz jeszcze projektu Google Cloud, przeczytaj artykuł Tworzenie projektu Cloud.
Aby włączyć interfejs API w projekcie Cloud:
konsola Google Cloud
- W konsoli Google Cloud kliknij Menu > Więcej usług > Google Workspace > Biblioteka usług.
- Kliknij interfejs API, który chcesz włączyć.
- Kliknij Włącz.
- Aby włączyć więcej interfejsów API, powtórz podane wyżej kroki.
Google Cloud CLI
- Zainstaluj lub otwórz interfejs wiersza poleceń Google Cloud.
-
Uruchom polecenie
services enable
, aby określić, którą usługę API włączyć.gcloud services enable API_SERVICE_ID
Interfejsy Google Workspace API
Użyj poniższych linków do konsoli Google Cloud lub interfejsu wiersza poleceń Google Cloud, aby włączyć określone interfejsy API Google Workspace w swoim projekcie Cloud.
Interfejs API pakietu Admin SDK |
Włącz interfejs Admin SDK API
|
Alert Center API |
Włączanie interfejsu Alert Center API
|
Apps Script API |
Włącz Apps Script API
|
CalDAV API |
Włącz interfejs CalDAV API
|
Calendar API |
Włącz interfejs Calendar API
|
Chat API |
Włącz interfejs Chat API
|
Classroom API |
Włączanie interfejsu Classroom API
|
Interfejs Cloud Identity API |
Włącz Cloud Identity API
|
Cloud Search API |
Włącz Cloud Search API
|
Docs API |
Włącz interfejs API Dokumentów
|
Drive API |
Włącz interfejs Drive API
|
Drive Activity API |
Włączanie interfejsu Drive Activity API
|
Drive Labels API |
Włączanie interfejsu Drive Labels API
|
Interfejs API Formularzy |
Włączanie interfejsu API Formularzy
|
Gmail API |
Włączanie interfejsu Gmail API
|
Groups Migration API |
Włączanie interfejsu Groups API API
|
Groups Settings API |
Włączanie interfejsu Groups Settings API
|
Google Workspace Add-ons API |
Włącz interfejs Google Workspace Add-ons API
|
Google Keep API |
Włącz Google Keep API
|
Interfejs Enterprise License Manager API |
Włączanie interfejsu Enterprise License Manager API
|
Interfejs API Marketplace |
Włączanie interfejsu Marketplace Marketplace
|
Pakiet SDK platformy handlowej |
Włącz pakiet SDK Marketplace
|
People API |
Włącz interfejs People API
|
Interfejs API narzędzia Postmaster Tools |
Włącz interfejs API Postmaster Tool
|
Interfejs API sprzedawcy |
Włącz interfejs Seller API
|
Sheets API |
Włącz API Arkuszy
|
Slides API |
Włącz interfejs API Prezentacji
|
Tasks API |
Włącz interfejs Tasks API
|
Vault API |
Włącz API Vault
|
Następny krok
Dowiedz się, jak działa uwierzytelnianie i autoryzacja w interfejsach Google Workspace API.