Samples for the Blizzard API
- Obtain Client ID and Client Secret from the Blizzard Battle.net Developer Portal.
- Copy setenv_template.sh to setenv.sh.
- Open setenv.sh with text editor and fill out secrets.
$ source setenv.sh
$ export ACCESS_TOKEN=`./get_token.sh | jq -r .access_token`
This is example of Hearthstone API.
$ ./call_api.sh metadata