Hide
Python

Generating Client Libraries

  1. Generating a client library for Android
  2. Generating a discovery doc for iOS
  3. Accessing backend APIs from Python

After you finish creating your endpoints, you can generate client libraries

Generating a client library for Android

You need to generate a discovery document and the .zip file containing the Android client library and all its dependencies.

To generate for Android:

  1. Generate the library following the instructions provided in Using the Endpoints Command Line Tool.

  2. Remember to repeat the client library generation when you modify the backend API.

  3. Add the client library to the Android app as described in Using Endpoints in an Android Client.

Generating a discovery doc for iOS

For iOS, you need to generate the discovery document for RPC, which you will then supply to the OS X library generator.

Generating the RPC discovery document is described in Using the Endpoints Command Line Tool.

Accessing backend APIs from Python

For information and sample code showing how to access a backend API from a Python client, see Accessing Backend APIs from Python Clients.