EnkaNetwork.py/example/debug.py

12 lines
256 B
Python
Raw Normal View History

2022-07-05 08:48:25 +00:00
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.
2022-07-05 08:48:25 +00:00
asyncio.run(main())