mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 11:52:18 +00:00
fc4c09ae0b
remove PyPEP8 E501 example `asyncio.loop` to `asyncio.run` examples: pass all
12 lines
256 B
Python
12 lines
256 B
Python
import asyncio
|
|
|
|
from enkanetwork import EnkaNetworkAPI
|
|
|
|
client = EnkaNetworkAPI(lang="th", debug=True)
|
|
|
|
async def main():
|
|
async with client:
|
|
await client.fetch_user(843715177)
|
|
# You can see the debug log in console.
|
|
|
|
asyncio.run(main()) |