from webclass-parser.request import auth_user, check_token, fetch_clazz_table
token = wp.auth_user(username="XXX", password="XXX")
if token is None or not check_token(token):
raise Exception("failed to auth user")
clazz_table = fetch_clazz_table(token)
print(clazz_table)u555017/webclass-parser
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|