Python 用 Blogger API クライアント ライブラリ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページには、Blogger
クライアントライブラリを使用します詳しくは以下のドキュメントをご覧ください。
サンプル
クライアント ライブラリの使用を開始するにあたっては、blogger サンプルが参考になります。
クライアント ライブラリをインストールする
パッケージ マネージャーを使用するか、Python クライアント ライブラリを手動でダウンロードしてインストールできます。
マネージド インストール
pip または setuptools を使用してインストールを管理します。最初に sudo
を実行しなければならない場合があります。
手動インストール
- 最新の Python 用クライアント ライブラリをダウンロードします。
- コードを解凍します。
- インストールを実行します:
python setup.py install
App Engine
Python クライアント ライブラリは App Engine Python ランタイム環境にはインストールされていないため、サードパーティ ライブラリと同様にアプリケーションにコピーする必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["\u003cp\u003eThis page guides you on using the Google API Client Library for Python to interact with the Blogger API v3.\u003c/p\u003e\n"],["\u003cp\u003eSystem requirements include Linux, macOS X, or Windows, and Python 2.7 or 3.4 or higher.\u003c/p\u003e\n"],["\u003cp\u003eInstallation options include using a package manager (pip or setuptools) or manual download and installation.\u003c/p\u003e\n"],["\u003cp\u003eFor App Engine, you need to manually copy the Python client libraries into your application.\u003c/p\u003e\n"]]],[],null,["# Blogger APIs Client Library for Python\n\nThis page contains information about getting started with the Blogger API v3 by using\nthe Google API Client Library for Python (v1/v2). For more information, see the following documentation:\n\n- Browse the [PyDoc reference for the Blogger API v3](https://googleapis.github.io/google-api-python-client/docs/dyn/blogger_v3.html).\n- Read the [Developer's guide for the Google API Client Library for Python (v1/v2)](/api-client-library/python).\n- Interact with this API in your browser using the [APIs Explorer for the Blogger API v3](https://developers.google.com/apis-explorer/#p/blogger/v3/).\n\nSample\n------\n\nThe [blogger](https://github.com/google/google-api-python-client/tree/master/samples/blogger) sample can help you get started by using the client library.\n\nSystem requirements\n-------------------\n\n- Operating systems:\n - Linux\n - macOS X\n - Windows\n- [The v1 client library requires Python 2.7 or higher. The v2 client library requires 3.7 or higher.](http://python.org/download/)\n\nInstall the client library\n--------------------------\n\nYou can either use a package manager or manually download and install the Python client library:\n\n### Managed install\n\nUse pip or setuptools to manage your installation. You might\nneed to run `sudo` first.\n\n- [pip](http://pypi.python.org/pypi/pip) (preferred): \n\n ```\n pip install --upgrade google-api-python-client\n ```\n- [Setuptools](http://pypi.python.org/pypi/setuptools): \n\n ```\n easy_install --upgrade google-api-python-client\n ```\n\n### Manual install\n\n1. [Download the latest client\n library for Python](https://pypi.python.org/pypi/google-api-python-client/).\n2. Unpack the code.\n3. Install: \n\n ```\n python setup.py install\n ```\n\n### App Engine\n\nBecause the Python client libraries aren't installed in the\n[App Engine Python runtime environment](https://cloud.google.com/appengine/docs/python/),\nyou must [copy them into your application](https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring) just like third-party libraries."]]