Skip to main content

Python WoW API Wrapper

Project description

# pyWoW
Python WoW API Wrapper

## Installation
1. `pip install -U pywow`
2. Get token for WoW Community API [here](https://dev.battle.net/apps/register)
4. Create/add to file config.py in project folder with these values:
```python
blizzard_key = 'Your_WoW_Community_APIKEY_here'
```

## Usage
*!* Only EU region is currently supported.
```python
import wow
```

## Quick Tutorial

#### Get character
```python
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}))
```

Project details


Release history Release notifications

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pywow, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pywow-1.0-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pywow-1.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page