An async ready client library for the World of Warcraft APIs
Project description
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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0fba8320e04dd72f91d56c87c7823093131ee039317fbda1de8b45f754328b8 |
|
MD5 | 3d5aba685541951d3a23044ad8b63644 |
|
BLAKE2b-256 | 2f06a88b71d6fd99cc2e18e111530696a76f22652979dc7b2f1e3f55ac497b8c |