/cloudbees-api-client

The official RUN@cloud api client

Primary LanguageJavaApache License 2.0Apache-2.0

This is the cloudbees api client (you can think of this as a reference implementation). 

Build the Jar
-------------
# mvn package


Using the code
--------------
import com.cloudbees.api.BeesClient;

class ApiCall {
 public static void main(String[] args) {
  String apiUrl = "https://api.cloudbees.com/api";
  String apiKey = ""; //from CloudBees account
  String secret = ""; //from CloudBees account
  BeesClient client = new BeesClient(apiUrl, apiKey, secret, "xml", "1.0")
  
  //list your applications
  client.applicationList();
 }
}