Fully asynchronous trace.moe API wrapper
Fully asynchronous trace.moe API wrapper Installation You can install the stable version from PyPI: $ pip install aiomoe Or get it from github: $ pip install https://github.com/FeeeeK/aiomoe/archive/refs/heads/master.zip Usage Get info about your account import asyncio from aiomoe import AioMoe tm = AioMoe() # or AioMoe(token=”xxxxxxxx”) async def main(): me = await tm.me() print(me) print(f”Used quota: {me.quota_used}/{me.quota}”) asyncio.run(main()) The output will be like this: User(error=None, id=’your ip’, priority=0, concurrency=1, quota=1000, quota_used=0) Used quota: 0/1000 Search anime import asyncio from aiomoe import […]
Read more