Library for fetching JSON data from site https://enka.shinshin.moe/
Project description
Enka Network Python
Library for fetching JSON data from site https://enka.shinshin.moe/
Installation
pip install enkanetwork.py
Usage
import asyncio
from enkanetwork import EnkaNetworkAPI
client = EnkaNetworkAPI()
async def main():
data = await client.fetch_user(843715177)
print(f"Nickname: {data.player.nickname}")
print(f"Level: {data.player.level}")
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Nickname: mrwan2546
Level: 55
Cache timeout: 236
If you want full docs for the API, visit EnkaNetwork API
LICENSE
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
Close
Hashes for enkanetwork.py-1.0.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be6ba10b37aaec2dc1bbafa4319977aa5891b4e54e8a37b9f13f4e24a87383c |
|
MD5 | 7d552692e8bc054b850769d4dafc1111 |
|
BLAKE2b-256 | 75b768f9b0080a5d7515e2b2a40dec85f7ca249cfd3206210dc21e31ecea4a85 |