eRepublik Java Library

Day 1,372, 14:51 Published in Austria Austria by GazonkFoo

Hi Everybody!

I use the advantage to have my very own newspaper to share a little project i'm working on.
I made a java library which enables developers to easily access the eRepublik APIs.
The lib encapsulates all the http calls and handles the parsing of the returned XML data.

Everyone interested can grab it here: http://xtremupload.com/ew2vvejgecbs.html

It is an eclipse project and you can find some very simple examples in the default package. The Main.java class provides a simple CLI for all the operations (using java reflection - this is probably not how you want to use it 😉).
I've also generated an XML schema which may be found under etc/eRepublicTypes.xsd

Note that this is a work in progress and so far i have not invested more than a day in this project. However all the operations should be fully functional.

Note: i haven't had the time to write any build jobs and create a jar archive. I will provide this as soon as possible.

So far the source is not distributed under a specific license - this may change as soon as i move this to some code hosting side (e.g. googlecode).