Google Partners API Client Library for Python

This page contains information about getting started with the Google Partners API using the Google APIs Client Library for Python. In addition, you may be interested in the following documentation:

System requirements

Installing the client library

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

Managed installation

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: Use the easy_install tool included in the setuptools package:
    $ easy_install --upgrade google-api-python-client

Manual installation

Download arrow Download the latest client library for Python, unpack the code, and run python install

App Engine

Because Google App Engine requires that all of the source files for a library must be present in your App Engine project, there is a special installation procedure for App Engine. To install the library and all of its dependencies in an App Engine project, download the file named from the list of downloads, where N.M is the version number of the latest release. Unzip that file into your project. For example:

$ cd myproject
$ unzip