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