用戶端程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Reseller API 是以 HTTP 和 JSON 為基礎建構而成,因此任何標準網路堆疊都能向這個 API 傳送要求並剖析回應。
不過,您可能想使用 Google API 用戶端程式庫,而非手動建立 HTTP 要求及剖析回應。用戶端程式庫提供更完善的語言整合和安全性,且支援發出需要使用者授權的呼叫。
下表的第一欄顯示各程式庫的開發階段 (請注意,部分程式庫仍處於早期階段),以及程式庫的說明文件連結。第二欄會連結至每個程式庫的可用範例。
也可以使用下列早期階段的程式庫:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# Client libraries\n\n\u003cbr /\u003e\n\nThe Reseller API is built on HTTP and JSON, so any standard web stack can send\nrequests to it and parse the responses.\n\nHowever, instead of creating HTTP requests and parsing responses manually, you\nmight want to use the Google APIs Client Libraries. The client libraries provide\nbetter language integration, improved security, and support for making calls\nthat require user authorization.\n\nIn the following tables, the first column shows each library's stage of development (note that\nsome are in early stages), and links to documentation for the library. The second column links to\navailable samples for each library.\n\n| Documentation | Samples |\n| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](/api-client-library/java/apis/reseller/v1) |\n| [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | [JavaScript samples](/api-client-library/javascript/samples/samples) |\n| [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | [.NET samples](/api-client-library/dotnet/apis/reseller/v1) |\n| [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | [Objective-C samples](https://github.com/google/google-api-objectivec-client-for-rest/tree/master/Examples) |\n| [Google API Client Library for PHP ()](/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |\n| [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n\nThese early-stage libraries are also available:\n\n| Documentation | Samples |\n| [Google APIs Client Libraries for Dart (beta)](https://pub.dartlang.org/packages/googleapis) | [Dart samples](https://github.com/dart-lang/googleapis_examples) |\n| [Google API Client Library for Go ()](https://github.com/google/google-api-go-client) | [Go samples](https://github.com/google/google-api-go-client/tree/master/examples) |\n| [Google API Client Library for Node.js (alpha)](https://github.com/google/google-api-nodejs-client/) | [Node.js samples](https://github.com/google/google-api-nodejs-client/tree/master/samples) |\n| [Google API Client Library for Ruby (alpha)](/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|"]]