Blizzard API implementation in Java. Wraps Blizzard API endpoints into POJOs.
A jar is located in releases. Each release lists the currently supported endpoints.
Gradle //TODO
You first need to register an account with Blizzard where you can recieve a ClientID and a Client Secret.
Using your ClientID and Client Secret you will generate an authorization token.
//TODO add imports
String clientId = "...";
String clientSecret = "...";
Token token = API.Authorization.generateToken(clientId, clientSecret);
From there you can now use that token to make requests. Ensure realm and character names are all lowercase!
String realm = "...";
String character = "...";
CharacterStatistics stats = API.ProfileAPI.getCharacterStatistics(realm, character, token);
A list of covered endpoints, and endpoints I have yet to cover can be found in the first issue.