Versioning changes for Blizzard WoW Game Data APIs https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Sergio Álvarez 4cc6447827 daily cron 8 months ago
raw daily cron 8 months ago
.gitignore updated codebase 9 months ago
README.md only US 9 months ago
blizzard.py only US 9 months ago
config.py new structure, better code 9 months ago
cron.sh mtime tune 9 months ago
spec.py no more db, now using mtime from cached files 9 months ago
test-modified.py code split and modified header to speed up things. Luckly Blizzard support If-Modified-Since 9 months ago
updater.py mtime tune 9 months ago

README.md

Create a .credentials file with client_id:secret from https://develop.battle.net/access

With no crontab execute python3 updater.py.

Crontab, every day at 12:30h:

30 12 * * * cron.sh

Only US region is explored because all API are the same and this is the default API for Blizzard.

Without locale we get all the translations, so I don't iterate through locales. If you ask for a locale, you get the value right in the field.