An async Python library for Sendou.ink
Project description
sendou.py
An async Python client for Sendou.ink
Maintainers
- Vincent Lee
Dependencies
- aiohttp
- aiohttp-client-cache
- python-dateutil
Installation
pip install sendou.py
Supported Endpoints
- Get user
- Get Calendar Entries
- Get Tournament Info
- Get Tournament Teams
- Get Tournament Brackets
- Get Tournament Match Info
Usage
import sendou
import asyncio
async def run():
client = sendou.Client("API_KEY")
player = await client.get_user("USER_ID")
print(player.name)
asyncio.run(run())
Getting an API Key
To use this library, you must have an API key. You need to DM Sendou for an API Key currently.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sendou_py-1.1.0.tar.gz
(9.6 kB
view hashes)
Built Distribution
sendou_py-1.1.0-py3-none-any.whl
(15.0 kB
view hashes)
Close
Hashes for sendou_py-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091d05a559eff04a10d8f4a5c999112d2df4eda2ab37792eedda9a1eee8c7193 |
|
MD5 | e88f6b50b8de9a4e5d8de01267492a9c |
|
BLAKE2b-256 | 425d433cb862cfc6b7318969210c75cbec6f8ffe58fd989e43f4df7b4332fa72 |