-
Notifications
You must be signed in to change notification settings - Fork 7
快速开始
ErickRen edited this page Oct 17, 2023
·
1 revision
欢迎使用PyTYUT!
from pytyut import Connection
conn = Connection()
conn.login("学号", "密码")
即可与校园网建立连接。
from pytyut import Connection
conn = Connection()
conn.login("学号", "密码")
print(conn.get_user_info())
使用conn对象即可调用相关账号API。
from pytyut import Connection
from pytyut import CourseApi
conn = Connection()
conn.login("学号", "密码")
api = CourseApi(conn)
print(api.get_all_course_score())
即创建一个简单关于课程的API对象并获取课程成绩。
2023 - now 著作权所有:@云顶书院