mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
13 lines
303 B
Python
13 lines
303 B
Python
import asyncio
|
|
|
|
from enkanetwork import EnkaNetworkAPI
|
|
|
|
client = EnkaNetworkAPI(lang="th", cache=True)
|
|
|
|
async def main():
|
|
async with client:
|
|
data = await client.fetch_user(843715177)
|
|
print("UID: %s" % data.profile.uid)
|
|
print("URL: %s" % data.profile.url)
|
|
|
|
asyncio.run(main()) |