The API framework for IcodeYoudao.
Project description
There is a better API framework for IcodeYoudao now, and TuringAPI is out of support.
IcodeAPI is here
TuringAPI, the API framework for IcodeYoudao.
You can use TuringAPI to control your account on IcodeYoudao.
from turingAPI-final import icodeUser
user = icodeUser(input('Enter cookie: ')) # login
print(user.info) # user info
You can use turingAPI.task
, turingAPI.event
and turingAPI.eventPool
to concurrent.
import turingAPI-final as turingAPI
user = turingAPI.icodeUser(input('Enter cookie: '))
ev = turingAPI.event(name='view')
for i in range(100):
turingAPI.addTask(ev,user.getWorkDetail,'get{num}'.format(i),['66a116af4ade4abb97cc2bab3d57573f'],{})
ev.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
turingAPI-final-1.0.0.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for turingAPI_final-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05eb00d73837f99d07fcc1879aca1270ad0ad8fe68500dd1e4d701d96ea84f77 |
|
MD5 | c75eccef4db78b5201b07184c587dfaa |
|
BLAKE2b-256 | e6036cfe90e545b3199188162331a15776dffd51fbd42a901f4dcf419a4c3bf6 |