An experimental API wrapper for the blizzard API, written in java. Use at your own risk. For now, I will focus on implementing the API for World of Warcraft (retail).
Current unofficial version pre-0.1
Head to the official blizzard API access page and create your client. Make sure, that you do not leak these credentials to anyone!
public class Run {
public static void main(String[] args) {
String clientId = "<YOUR CLIENT_ID HERE";
String clientSecret = "YOUR CLIENT_SECRET HERE";
JBlizzardClient cli = new JBlizzardClient(clientId, clientSecret, Locale.EN_GB);
System.out.println(cli.getEuRegion().getRealms().get(0).getId());
}
}
Output: 500