Versioning changes for Blizzard WoW Game Data APIs
https://develop.battle.net/documentation/world-of-warcraft/game-data-apis
Sergio Álvarez
4cc6447827
real 45m20,780s user 0m52,367s sys 0m5,005s |
||
---|---|---|
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.