Skip to content

simonelambiase/JBlizzard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBlizzard

About

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

Usage

Create ClientID & Client secret

Head to the official blizzard API access page and create your client. Make sure, that you do not leak these credentials to anyone!

request examples

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

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%