Blogger JSON API:程式庫與範例
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
重要事項:
我們將於 2024 年 9 月 30 日停止支援 2.0 版 JSON API。
為確保相關功能持續運作,請將使用 JSON API 2.0 版的應用程式更新為使用最新版 API。如要查看最新版本,請使用左側導覽列中的連結。
Google API 用戶端程式庫支援多種常用的程式設計語言,可讓您輕鬆使用 Google Blogger JSON API。
下表的第一欄顯示各程式庫的開發階段 (請注意,部分程式庫仍處於早期階段),以及程式庫的說明文件連結。第二欄會連結至每個程式庫的可用範例。
也可以使用下列早期階段的程式庫:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to update to the latest API version for continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries in various programming languages to simplify using the Google Blogger JSON API, with links to documentation and samples for each.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available for Java, JavaScript, .NET, Objective-C, PHP, and Python, with varying levels of development and supporting documentation and samples.\u003c/p\u003e\n"],["\u003cp\u003eEarly-stage client libraries for Dart, Go, Node.js, and Ruby are also available, offering developers options for integrating with the Google Blogger JSON API in these languages.\u003c/p\u003e\n"]]],[],null,["# Blogger JSON API: Libraries and Samples\n\n**Important**:\nWe will discontinue support for the v2.0 JSON API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 JSON API\nto the latest API version. For the latest version, use the links in the left-side navbar.\n\nThe Google API client libraries, which are available in a number of popular programming languages, make it easy to use the Google Blogger JSON API.\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) |\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) |\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|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|"]]