Skip to content

Instantly share code, notes, and snippets.

@artemisia-absynthium
Created May 22, 2017 08:25
Show Gist options
  • Save artemisia-absynthium/d1486a5f081c38162e6620e35b246aee to your computer and use it in GitHub Desktop.
Save artemisia-absynthium/d1486a5f081c38162e6620e35b246aee to your computer and use it in GitHub Desktop.
Cloud Endpoints init
MyApi.Builder builder = new MyApi.Builder(new NetHttpTransport(), new AndroidJsonFactory(), null)
.setApplicationName("<my package name>")
.setRootUrl(<my root URL>)
.setGoogleClientRequestInitializer(new MyApiRequestInitializer(<my API key>));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment