mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 11:52:18 +00:00
12 lines
269 B
Python
12 lines
269 B
Python
import asyncio
|
|
|
|
from enkanetwork import EnkaNetworkAPI
|
|
|
|
client = EnkaNetworkAPI(lang="th", debug=True)
|
|
|
|
async def main():
|
|
await client.fetch_user(843715177)
|
|
# You can see the debug log in console.
|
|
|
|
loop = asyncio.get_event_loop()
|
|
loop.run_until_complete(main()) |