This page contains information about installing the Google APIs Client Library for Python.
Quickstart creates a starter application to get you up and running with the Google APIs Client Library for Python faster. After you select a Google API and platform and click Configure Project, it helps you set up a project in the Google Developers Console. Finally, it generates a custom client application that you can download, run, and modify.
To install the library and all of its dependencies, open a terminal and do one of the following:
easy_installtool included in the setuptools package:
$ easy_install --upgrade google-api-python-client
Use the pip tool:
$ pip install --upgrade google-api-python-client
Depending on your system, you may need to prepend those commands with
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
google-api-python-client-gae-N.M.zip from the
of downloads, where N.M is the version number of the latest release. Unzip
that file into your project. For example:
$ cd myproject $ unzip google-api-python-client-gae-1.1.zip
After you have installed the library, you can optionally download and unpack samples. The package names that start with google-api-python-client-samples- contain samples using this library in many scenarios. See the Sample Applications page for more information about these and other samples.