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.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71eab8d482ff0a111e1554e103341dda6f13bb603d2cd0647de0a41028ddf0fc |
|
MD5 | 7af14e328d57650b7b91773aec7fff7d |
|
BLAKE2b-256 | d8735e6b39b1e1af0c681e44debc0b4eff3ae9167a4391e4740652ef279f9013 |