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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561a8082177ddc2c46ff553e3feda02a1f5583b4096dcad0dd6edd7ba774b5d5 |
|
MD5 | 306d8b64322d76526caaa15a4136e0cc |
|
BLAKE2b-256 | 1267a48b94422f84c642a015fef3a1a9d2fe977d02bcdfd07955a850692388ed |