Cloudsdale for Java is built using Square's Retrofit and OkHttp, as well as Berwyn's faye.java client
-
JavaSE 1.6+
or
-
Android 2.3+ (API >= 7)
First, add the library as a dependency. You can either clone the repo and build yourself, or use Apache Maven. The library can be used via Maven Local or Maven Central (NYI)
<dependency>
<groupId>org.cloudsdale</groupId>
<artifactId>cloudsdale-java</artifactId>
<version>${LATEST VERSION}</version>
</dependency>
After adding the library to your classpath, it's as easy as
Cloudsdale cloudsdale = new Cloudsdale.Builder().with("My awesome API token");
From here, the api client will have access to all the RESTful endpoints documented in our developer documentation