Skip to content

danielburrell/linode4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linode4j

Java implementation of the Linode API

##Features

  • Clean, simple data access layer and data objects.
  • Easily distinguish between required and optional parameters.
  • Threadsafe Spring-like template-based data access objects.
  • Ultra fast serialisation via Jackson.
  • Simplified access to all linode api methods.

##Quickstart

###Maven

<dependency>
    <groupId>uk.co.solong</groupId>
    <artifactId>linode4j</artifactId>
    <version>1.0</version>
</dependency>

Get a string response from the server

Linode api = new Linode(API_KEY);
String reply = api.updateDomain(4).withDescription("someDescription").withMasterIps("82.12.53.123").asString();

Or as json

Linode api = new Linode(API_KEY);
JsonNode reply = api.updateDomain(4).withDescription("someDescription").withMasterIps("82.12.53.123").asJson();

Or (coming soon) as a nicely typed object

Linode api = new Linode(API_KEY);
DomainUpdateReply reply = api.updateDomain(4).withDescription("someDescription").withMasterIps("82.12.53.123").asObject();

##API This library was first made available on 18th March 2015. We welcome your feedback and hope to evolve this API gracefully, however it is possible that major revisions (e.g. 1.0->2.0) may break backward compatibility.

##Legal MIT License linode4j is an open-source 3rd-party library (unofficial). The developers of linode4j are unaffilited with Linode. This library is provided as is without warranty. (c) 2015 Daniel Burrell

About

Java implementation of the Linode API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages