Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Poprzednie wersje
Biblioteki klienta Google My Business API obejmują funkcje interfejsu Google My Business API i zapewniają funkcje wspólne dla wszystkich interfejsów API Google, np. transport HTTP, obsługę błędów, uwierzytelnianie, parsowanie JSON i obsługę buforów protokołów. Dostępne są te starsze biblioteki klienta i aplikacje przykładowe:
v4.9
Do pobrania są dostępne te biblioteki klienta na potrzeby Java i PHP:
Pobierz bibliotekę klienta Java (z kodem źródłowym)
Pobieranie biblioteki klienta C#
Pobierz bibliotekę klienta PHP
Aby dowiedzieć się, jak zintegrować bibliotekę klienta w języku Java z aplikacją, przeczytaj artykuł Praca z bibliotekami klienta.
Za pomocą Gradle możesz przygotować przykładową aplikację w Javie do użycia w Eclipse IDE. Więcej informacji znajdziesz w wtyczkach Eclipse.
Dokument opisujący
Dokument opisujący interfejs Google My Business API to dokument w formacie JSON, który opisuje interfejs konkretnej wersji interfejsu API. Dokument ten jest używany w połączeniu z usługą Google API Discovery Service.
Pobieranie dokumentu opisującego
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-15 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-15 UTC."],[[["The Google My Business API client libraries simplify interactions with the API by handling common tasks like HTTP transport, error handling, and authentication."],["Client libraries are available for download in Java, C#, and PHP, along with sample applications and instructions for integration."],["Developers can utilize the Google My Business API discovery document, a JSON file describing the API's surface, in conjunction with the Google API Discovery Service."]]],["The Google My Business API offers client libraries with core functionalities like HTTP transport, error handling, authentication, and JSON parsing. Client libraries for Java, C#, and PHP (version v4.9) are available for download, with source code included for Java. A discovery document for the API, used with the Google API Discovery Service, can also be downloaded. Guidance is provided on integrating the Java client library and using Gradle to prepare the Java sample application.\n"]]