Python WoW API Wrapper
pip install -U pywow
- Get API Key for WoW Community here
- Create/add to file
config.py
in project folder with these values:
blizzard_key = 'Your_WoW_Community_APIKEY_here'
! Only EU region is currently supported
import wow
char = wow.Character(name='CharacterName', realm='Character realm')
print('{name} on {realm} ({xplvl}lvl/{ilvl})\nPlaying as {class},{race} at {side}'.format(
{'name':char.full_name, 'realm':char.realm.name, 'xplvl':char.level['xp']
'ilvl':char.level['item'], 'class':char.wow_class.name, 'race':char.race.name,
'side':char.race.side}))