Google Play EMM API Client Library for Python

  • Standard client libraries do not include trusted tester APIs, but custom client libraries can often be provided for trusted testers who should reach out to their Google contact for more information.

  • This page provides information on using the Google Play EMM API with the Google API Client Library for Python (v1/v2).

  • System requirements include Linux, macOS X, Windows, and Python 2.7+ for v1 or 3.7+ for v2.

  • You can install the client library using package managers like pip or setuptools, or by manual download and installation.

  • For App Engine, you need to copy the Python client libraries into your application as they are not installed in the runtime environment.

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

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.