Blogger APIs Client Library for Python

  • This page guides you on using the Google API Client Library for Python to interact with the Blogger API v3.

  • System requirements include Linux, macOS X, or Windows, and Python 2.7 or 3.4 or higher.

  • Installation options include using a package manager (pip or setuptools) or manual download and installation.

  • For App Engine, you need to manually copy the Python client libraries into your application.

This page contains information about getting started with the Blogger API v3 by using the Google API Client Library for Python (v1/v2). For more information, see the following documentation:

Sample

The blogger sample can help you get started by using the client library.

System requirements

Install the client library

You can either use a package manager or manually download and install the Python client library:

Managed install

Use pip or setuptools to manage your installation. You might need to run sudo first.

  • pip (preferred):
    pip install --upgrade google-api-python-client
  • Setuptools:
    easy_install --upgrade google-api-python-client

Manual install

  1. Download the latest client library for Python.
  2. Unpack the code.
  3. Install:
    python setup.py install

App Engine

Because the Python client libraries aren't installed in the App Engine Python runtime environment, you must copy them into your application just like third-party libraries.