Przewodnik dla programistów
Zadbaj o dobrą organizację dzięki kolekcji Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pierwsze kroki
Aby zacząć korzystać z biblioteki klienta interfejsów API Google dla języka Java, zapoznaj się z przykładami dotyczącymi Google Cloud.
Informacje o strukturze biblioteki i jej wielu komponentów znajdziesz w szczegółowych instrukcjach konfiguracji, które zawierają instrukcje dla użytkowników Maven.
Na stronie Pomoc możesz zadawać pytania, zgłaszać błędy, omawiać bibliotekę i czytać ogłoszenia.
Uwierzytelnianie
Biblioteka obsługuje tę metodę uwierzytelniania:
Grupowanie
Biblioteka ułatwia grupowanie wielu żądań i odpowiedzi HTTP. Szczegółowe informacje znajdziesz w dokumentacji zbiorczej.
W bibliotece znajdują się wygodne zajęcia, które ułatwiają przesyłanie i pobieranie multimediów.
Obsługiwane środowiska Java
Biblioteka obsługuje te środowiska Java:
Publikuj
Są to biblioteki open source. Zachęcamy do udostępniania treści.
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: 2025-07-26 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe Google API Client Library for Java facilitates interaction with Google APIs, offering support for authentication, batching, and media handling within various Java environments, including standard Java, Android, and Google App Engine.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, explore the Google Cloud-specific samples and detailed setup instructions, including Maven-specific guidance, to understand the library structure and initiate integration.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication is primarily through OAuth 2.0, and the library streamlines batching multiple HTTP requests/responses and managing media uploads and downloads.\u003c/p\u003e\n"],["\u003cp\u003eThis open-source library supports Java 7 and later, Android 4.0 (Ice Cream Sandwich) and above, and Google App Engine, with contributions welcomed to enhance its functionality.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive support resources, including troubleshooting assistance, discussions, and announcements, are accessible through the provided support channels.\u003c/p\u003e\n"]]],[],null,["Getting started\n\nTo get started with the [Google API Client Library for Java](https://github.com/googleapis/google-api-java-client-services#google-java-api-client-services), take a look at the [Google Cloud-specific samples](https://github.com/GoogleCloudPlatform/java-docs-samples).\n\nFor information about the structure of the library and its multiple components, see the\n[detailed setup instructions](/api-client-library/java/google-api-java-client/setup), which\ninclude [instructions for Maven users](/api-client-library/java/google-api-java-client/setup#maven).\n\nTo ask questions, report bugs, discuss the library, and read the announcements, see the\n[Support](/api-client-library/java/google-api-java-client/support) page.\n\nAuthentication\n\nThe library supports the following authentication method:\n\n- [OAuth 2.0](/api-client-library/java/google-api-java-client/oauth2)\n\nBatching\n\nThe library makes it easier to batch multiple HTTP requests/responses. For details, see the [batch documentation](/api-client-library/java/google-api-java-client/batch).\n\nMedia upload/download\n\nThe library has convenient classes that help with\n[media upload](/api-client-library/java/google-api-java-client/media-upload) and\n[media download](/api-client-library/java/google-api-java-client/media-download).\n\nSupported Java environments\n\nThe library supports the following Java environments:\n\n- Java 7 (or higher)\n- [Android 4.0 (Ice Cream Sandwich) (or higher)](/api-client-library/java/google-api-java-client/android) (Note that this library's support for Android is [@Beta](/api-client-library/java#beta).)\n- [Google App Engine](/api-client-library/java/google-api-java-client/app-engine)\n\nContribute\n\nThese are [open-source](https://github.com/googleapis/google-api-java-client) [libraries](https://github.com/googleapis/google-api-java-client-services),\nand [contributions](/api-client-library/java/google-api-java-client/contribute) are welcome."]]