icodeapi

The second generation of IcodeYoudao API framework.


License
MIT
Install
pip install icodeapi==1.4.0

Documentation

icodeapi, the second generation of IcodeYoudao API framework.

More powerful and Faster than TuringAPI and TuringIO.

icodeapi is easy to use, and it supports for sync and async.

from icodeapi import *
import asyncio
cookie = input('Enter cookie: ')
syncAPI = IcodeAPI(cookie = cookie)
print(syncAPI.updateIntro('hello, icodeapi!'))
asyncAPI = AsyncIcodeAPI(cookie = cookie)

async def main(api : AsyncIcodeAPI):
    await api.login()
    print(await api.updateIntro('hello, async icodeapi!'))
    await api.closeClient()

asyncio.run(main(asyncAPI))

Use pip to install:

pip install icodeapi

Documentation

Github