Hi! I'm Luca Scalzotto
I am a passionate programmer, fanatic gamer and creative hobbyist.
Back to projects

JavaRant

A Java wrapper for the devRant API.
JavaJava

I love spending time on devRant, and they’re very open to projects using their API. So when I heard about that I started creating an API wrapper in Java. The first iteration was a fun little project, but it went on to be my guinea pig for continuous integration and Maven deployment.

DevRant devRant = new DevRant();

// Get the 10 latest rants.
List<Rant> recent = devRant.getFeed().getRants(Sort.RECENT, 10, 0);

// Log in.
char[] password = "<password>".toCharArray();
devRant.login("<username>", password);

// Vote on a rant.
devRant.getAuth().voteRant(832125, Vote.UP);