Generating Client Libraries
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:
-
Generate the library following the instructions provided in Using the Endpoints Command Line Tool .
-
Remember to repeat the client library generation when you modify the backend API.
-
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 .