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}))
```
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywow-1.0.tar.gz
(3.9 kB
view details)
Built Distribution
pywow-1.0-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file pywow-1.0.tar.gz
.
File metadata
- Download URL: pywow-1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d86a6d07812a3ed46f0a50dc0b6c161f1988df017c254017cfa889e1758a54d |
|
MD5 | 2739fd8d9885b02b22a3a06b471487a7 |
|
BLAKE2b-256 | 5f86de0cddc9042b2099070a9a615e9b673ee1f7ba1e7be64cac1a0c79a56f79 |
File details
Details for the file pywow-1.0-py3-none-any.whl
.
File metadata
- Download URL: pywow-1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740dd2dcb5b609607882a1852621533c3bd865ae018050ab78d70adbf6721a55 |
|
MD5 | ef8c3243b9e9569e66815e4011632885 |
|
BLAKE2b-256 | b25292470eaa18b8d35f6768b0cac0857c1e91a679eea0632ddf0e2d6f35c15a |