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
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 object
WoW = WowApi('<CLIENT_ID>','<CLIENT_SECRET>', 'us')
# Retrieve user's Mythic+ Profile
data = await WoW.Retail.Profile.getCharMythicKeystoneProfileIndex('adalyia', 'illidan')
# Print user's Mythic+ Rating
print(data['current_mythic_rating']['rating'])
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-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463d54e776d1a7561d0af1182cd48045e5897e67a32713210723a52c709a4367 |
|
MD5 | deaf4de6dacb69129ef1248518fbb24d |
|
BLAKE2b-256 | 245864e066876cd6215eb362e84c9cfc69f621624bd007e5b79b316b17710e10 |