一个Python库和CLI工具,用于与TVDSB学生门户服务交互

tvdsb-student-api的Python项目详细描述


tvdsb学生api

一个Python库和CLI工具,用于与TVDSB学生门户服务交互

CLI工具用法

usage: python3 -m tvdsb_student [-h] --user USER [--passwd PASSWD]

Dumps all TVDSB Student info to STDOUT as JSON

optional arguments:
  -h, --help       show this help message and exit
  --user USER      TVDSB account username
  --passwd PASSWD  TVDSB account password

此脚本将JSON转储到STDOUT

库的使用

^{pr2}$

数据模式

这些都是通过查询我的学生帐户生成的数据结构的示例

出席
[{"code":"G",// Single char denoting incident type"course_code":"SPH3UK-02",// Course code"date":"3/24/2020",// Date of incident"period":2,// School period"reason":"School Closure/Services Withdrawal"// Notes about incident}]

标记

{"2020":[// Courses are grouped by year{"comment":".",// Teacher's comment. This may be a "." if the class finished during a teachers strike"course":"ICS4U1",// Course code"date":"2020.06.26",// Date the grade was last updated in MarkBook"mark":100,// Percent grade out of 100"skills":{// Listing of all "skills" on a normal report card. Single char, one of [F, S, G, E]"homework":"E","independence":"E","initiative":"E","organization":"E","teamwork":"E"}}]}

付款

{"pin":1234567890// PIN number used to link a parent's payment account to a student (not my real pin)}
时刻表
{"student_info":{'grade':12,// Current grade, or next grade during summer'locker_number':null,// Locker number or null/None for no locker'name':['Evan','Pratten'],// First and last name'ontario_education_number':123456789,// OEN (not my real OEN)'student_number':987654321// TVDSB student number (not my real student number)},"course_semesters":[// Contains a sub-array for each semester[// Contains an object for each course{'course_code':'ENG4U1-02',// Course code'period':2,// Period number'start_time':1000,// Time the period begins (24hr)'end_time':1115// Time the period ends (24hr)}]]}

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
当使用JWT令牌时,JavaSpring引导身份验证返回null   java不知道为什么要收集。sort()在以下程序中不工作?   java如何向构造函数和arraylist添加jtextfield值?   python Pycrypto AES GCM加密和Java解密   java以编程方式设置自定义xml布局元素   java需要自动化当前的执行流   javadoc Java JMC“MediaProvider”神秘类   java Tiles2多重继承   java我想用默认属性覆盖字段输入中的值   java在安卓中添加带有图标和名称的mikepenz materialdrawer布局   如何使用Java调整图像大小?   google app engine java appengine使用斜杠自动重定向到目录   java检测多条折弯线是否相交   java如何使用mstor读取mbox电子邮件   多线程Java每月定时器