Linode4j

A client library for Linode's API.

License

License

GroupId

GroupId

uk.co.solong
ArtifactId

ArtifactId

linode4j
Last Version

Last Version

1.4
Release Date

Release Date

Type

Type

jar
Description

Description

Linode4j
A client library for Linode's API.
Source Code Management

Source Code Management

https://github.com/danielburrell/linode4j

Download linode4j

How to add to project

<!-- https://jarcasting.com/artifacts/uk.co.solong/linode4j/ -->
<dependency>
    <groupId>uk.co.solong</groupId>
    <artifactId>linode4j</artifactId>
    <version>1.4</version>
</dependency>
// https://jarcasting.com/artifacts/uk.co.solong/linode4j/
implementation 'uk.co.solong:linode4j:1.4'
// https://jarcasting.com/artifacts/uk.co.solong/linode4j/
implementation ("uk.co.solong:linode4j:1.4")
'uk.co.solong:linode4j:jar:1.4'
<dependency org="uk.co.solong" name="linode4j" rev="1.4">
  <artifact name="linode4j" type="jar" />
</dependency>
@Grapes(
@Grab(group='uk.co.solong', module='linode4j', version='1.4')
)
libraryDependencies += "uk.co.solong" % "linode4j" % "1.4"
[uk.co.solong/linode4j "1.4"]

Dependencies

compile (5)

Group / Artifact Type Version
commons-httpclient : commons-httpclient jar 3.1
com.fasterxml.jackson.core : jackson-databind jar 2.4.4
org.slf4j : slf4j-api jar 1.7.9
org.apache.commons : commons-lang3 jar 3.3.2
org.springframework : spring-web jar 4.0.0.RELEASE

test (1)

Group / Artifact Type Version
junit : junit jar 4.7

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.4
1.3
1.2
1.1
1.0