An async ready client library for the World of Warcraft APIs
Project description
aiowowapi docs
An asynchronous client library for interacting with the World of Warcraft API endpoints using the async / await syntax.
Installing
# Linux/OSX
python3 -m pip install -U aiowowapi
# Windows
python -m pip install -U aiowowapi
Current Features
Retail Game Data API Support
Retail Profile API Support
Classic Game Data API Support
Rate limiting
Request retries
QoL WoW-Specific functions (Money -> Gold/Silver/Copper, Armoury link parser, etc)
TODO
Add caching for certain requests
Less janky error handling
Requirements
Python 3.8+
Example
from aiowowapi import WowApi
async def main():
Client = WowApi('<CLIENT_ID>','<CLIENT_SECRET>', 'us', request_debugging=True)
print(await Client.Retail.Profile.get_character_profile_status('illidan', 'adalyia'))
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
asyncio.run(main())
Links
IMPORTANT
This project is not affiliated with or endorsed by Blizzard Entertainment & all data is retrieved from official Blizzard / World of Warcraft APIs. Terms found here. Additionally this project was created primarily for use with Discord Bots & other async applications with inspiration from this project by lockwooddev.
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
Built Distribution
Hashes for aiowowapi-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4477a92eb3073ba4a0596e759b1399635c476cfde0d68f220baf5048f3d62c1d |
|
MD5 | 0cdd6eb74fcf319c962562f514a26665 |
|
BLAKE2b-256 | 610d8109afd555eb38e562a12ea6e31773054995bc3d6607a0d23345a8ae3e48 |