Skip to content

The second generation of IcodeYoudao API framework.

Notifications You must be signed in to change notification settings

xbzstudio/icodeapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

The second generation of IcodeYoudao API framework.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages