Let's create your first app using Spotware's Open API. It will be a console application in Java. So:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Create a method for requesting schema description. This method makes a http request and returns document as string.
Other requests required of OAuth authentication. Next lesson will describe how to get your OAuth token and use it for requests.
In this lesson we will prepare infrastructure objects. Let's create java classes according to got schema from the previous step. For serialization/deserialization JSON object will be used Jackson processor.
Sources of this lesson can be found at GitHub