Contoh Library Klien Google API untuk Java
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.
Contoh yang tersedia
Untuk melihat semua contoh yang tersedia bagi Library Klien Google API untuk Java, jelajahi contoh di GitHub. Setiap contoh memiliki file instructions.html yang menjelaskan cara menyiapkan dan menggunakan contoh. (Untuk melihat petunjuk dengan lebih mudah di browser, buka http://htmlpreview.github.io/ dan tempel URL file HTML ke dalam kotak teks.)
Kami menerima kontribusi untuk contoh API lainnya, seperti yang dijelaskan dalam panduan kami untuk menjadi kontributor.
Jika Anda ingin meminta contoh untuk API lain yang tidak tercantum di sini, posting permintaan Anda di StackOverflow dengan tag khusus API, atau lihat Kerusakan dan permintaan fitur file untuk mengetahui informasi selengkapnya.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eThe Google API Client Library for Java offers a variety of samples available for browsing on GitHub, each with instructions on setup and usage.\u003c/p\u003e\n"],["\u003cp\u003eUsers can easily view the sample instructions in a browser by pasting the HTML file's URL into the provided online tool.\u003c/p\u003e\n"],["\u003cp\u003eContributions for samples of other APIs are welcome and encouraged through the contributor guidelines.\u003c/p\u003e\n"],["\u003cp\u003eRequests for samples not currently available can be made on StackOverflow using API-specific tags or through the feature request process.\u003c/p\u003e\n"]]],[],null,["Available samples\n\nTo view all the samples that are available for the Google API Client Library\nfor Java,\nbrowse through the\n[samples on GitHub](https://github.com/googleapis/google-api-java-client-services#google-java-api-client-services).\nEach sample has an instructions.html file that explains how to set up and use\nthe sample. (To more easily view the instructions in a browser, visit\n\u003chttp://htmlpreview.github.io/\u003e and paste the URL\nof the HTML file into the text box.)\n\nWe welcome contributions for samples for other APIs, as described in our guide to\n[becoming a contributor](/api-client-library/java/google-api-java-client/contribute).\n\nIf you would like to request a sample for other APIs that are not listed here,\npost your request on [StackOverflow](http://stackoverflow.com/) with an API-specific\ntag, or see [File feature requests and defects](/api-client-library/java/google-api-java-client/support#file_feature_requests_and_defects) for more information."]]