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 FinalTuringAPI 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 FinalTuringAPI 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
FinalTuringAPI-1.0.0.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file FinalTuringAPI-1.0.0.tar.gz
.
File metadata
- Download URL: FinalTuringAPI-1.0.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cabe714638f190159900121287b5e31724f7ad013961c5de6b01eb576c2d35a |
|
MD5 | cee49215ee149f11dd2d06c41621c881 |
|
BLAKE2b-256 | b525778c79ffcbe6d7dfa0c7121fd85e077945f129b2dfd5ee695b5d49b5f0bb |
File details
Details for the file FinalTuringAPI-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: FinalTuringAPI-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13babcb73781e8a2434ecb5ddf429cd0f2faf8c71f2ee44404b073a91d8be97 |
|
MD5 | 639d46575239f27fcd4dc45f6df4fdfb |
|
BLAKE2b-256 | a70abb0f49e329b5762415cdaefef20e9bdafffed9851939562a2cfff0979169 |