EnkaNetwork.py/example/update_assets.py
xSTACIA fc4c09ae0b renamed __pydantic_self__ to self
remove PyPEP8 E501
example `asyncio.loop` to `asyncio.run`

examples: pass all
2022-08-17 11:54:16 +07:00

12 lines
257 B
Python

import asyncio
from enkanetwork import EnkaNetworkAPI
client = EnkaNetworkAPI(debug=True)
async def main():
async with client:
await client.update_assets()
# You can see the progress download new assets in console
asyncio.run(main())