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
Rate limiting
Request retries
QoL WoW-Specific functions (Money -> Gold/Silver/Copper, Armoury link parser, etc)
TODO
Add support for World of Warcraft: Classic/TBC API endpoints
Add caching for certain requests
Less janky error handling
Requirements
Python 3.8+
Example
from aiowowapi import WowApi
async def main():
# Create WoWApi client object
Client = WowApi('<CLIENT_ID>','<CLIENT_SECRET>', 'us')
# Retrieve user's Mythic+ Profile
data = await Client.Retail.Profile.getCharMythicKeystoneProfileIndex('adalyia', 'illidan')
# Print user's Mythic+ Rating
print(data['current_mythic_rating']['rating'])
asyncio.get_event_loop().run_until_complete(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-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e57bfc502464185f87cdb863fb9a06e5c05afa5726c56ad05aa13941311ba44 |
|
MD5 | c620fcd98f58f3c8580bb8cdf1864b5a |
|
BLAKE2b-256 | e668701d1b2a0c534ded27d6cd4bad2a10e8fc11f4b222822f34d786632ab25f |