Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tutorial: Getting Started with the Java Client Library

Follow this tutorial to build a simple application to manage a contacts list. The tutorial shows you how to use the  submissions API to query the submissions repository, to filter submissions, sort, paginate, etc.

...

The example below is taken from the tutorial Getting Started with the Jave Data Client Library.

The commandLoop() method in the Contacts''' class below shows how this is done in the Contacts application. Note that the FormsService instance is state-full and the same instance needs to be used throughout the session (this is specially the case when rendering form urls in the browser since an API key is automatically appended and bound to the FormsService session - as soon as you logout() the API key becomes invalid). In the case of this command-line application the session spans the life-time of the executable, but in the case of a web application the FormsService instance is usually stored in the HTTP session that the user has with the application.

...