Versioning changes for Blizzard WoW Game Data APIs
https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
Sergio Álvarez
8318eb7d9b
2021-05-17 13:37:58.134103 | {'group': 'Title', 'path': '/data/wow/title/{titleId}', 'namespace': 'static', 'titleId': {'source': '/data/wow/title/index', 'list': 'titles', 'value': <function <lambda> at 0x7f36b224eb80>}} real 1m24,446s user 0m2,083s sys 0m0,131s |
||
---|---|---|
raw | ||
.gitignore | ||
README.md | ||
blizzard.py | ||
config.py | ||
cron.sh | ||
spec.py | ||
test-modified.py | ||
updater.py |
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.