成绩接口: get_score
字段 |
默认值 |
类型 |
描述 |
score_year |
None |
String |
学年 |
score_term |
None |
String |
学期 |
use_api |
0 |
Int |
使用的接口 [0,1,2,3] |
from school_api import SchoolClient
school = SchoolClient('http://210.38.137.126:8016')
student = school.user_login('xxxxxxxx', 'xxxx')
student.get_score()
student.get_score(score_year='2017-2018')
student.get_score(score_year='2017-2018', score_term='1')
{
"2016-2017": {
"1": [{"credit": 3.0, "score": 68.0, "lesson_name": "管理学原理", "point": 1.8}, {"credit": 3.5, "score": 84.0, "lesson_name": "离散数学", "point": 3.4}, {"credit": 4.0, "score": 64.0, "lesson_name": "数据结构", "point": 1.4}, {"credit": 4.0, "score": 68.0, "lesson_name": "数据库原理及应用", "point": 1.8}, {"credit": 3.5, "score": 78.0, "lesson_name": "大学英语3", "point": 2.8}, {"credit": 1.0, "score": 79.0, "lesson_name": "瑜伽", "point": 2.9}, {"credit": 2.5, "score": 68.0, "lesson_name": "马克思主义基本原理", "point": 1.8}, {"credit": 0.5, "score": 80.0, "lesson_name": "形势与政策教育2", "point": 3.0}, {"credit": 0.5, "score": 84.0, "lesson_name": "创新创业教育1", "point": 3.4}, {"credit": 1.0, "score": "中等", "lesson_name": "数据结构课程设计", "point": 2.5}, {"credit": 1.0, "score": "优秀", "lesson_name": "数据库原理及应用课程设计", "point": 4.5}],
"2": [{"credit": 3.0, "score": 92.0, "lesson_name": "会计学原理", "point": 4.2}, {"credit": 3.5, "score": 78.0, "lesson_name": "Java程序设计", "point": 2.8}, {"credit": 3.0, "score": 69.0, "lesson_name": "运筹学Ⅱ", "point": 1.9}, {"credit": 3.5, "score": 86.0, "lesson_name": "概率论与数理统计", "point": 3.6}, {"credit": 3.5, "score": 78.0, "lesson_name": "大学英语4", "point": 2.8}, {"credit": 1.0, "score": 86.0, "lesson_name": "武术", "point": 3.6}, {"credit": 4.5, "score": 88.0, "lesson_name": "毛泽东思想和中国特色社会主义理论体系概论", "point": 3.8}, {"credit": 1.0, "score": 85.0, "lesson_name": "Java程序设计课程设计", "point": 3.5}, {"credit": 1.0, "score": "良好", "lesson_name": "生产认识实习", "point": 3.5}]
},
"2017-2018": {
"1": [{"credit": 3.0, "score": 84.0, "lesson_name": "经济学原理", "point": 3.4}, {"credit": 3.5, "score": 81.0, "lesson_name": "操作系统", "point": 3.1}, {"credit": 3.5, "score": 96.0, "lesson_name": "信息系统分析与设计", "point": 4.6}, {"credit": 4.0, "score": 76.0, "lesson_name": "计算机网络", "point": 2.6}, {"credit": 2.0, "score": 81.0, "lesson_name": "物联网概论", "point": 3.1}, {"credit": 0.5, "score": 88.0, "lesson_name": "形势与政策教育3", "point": 3.8}, {"credit": 1.0, "score": 95.0, "lesson_name": "企业经营模拟实践", "point": 4.5}, {"credit": 1.0, "score": "良好", "lesson_name": "计算机网络应用设计", "point": 3.5}],
"2": [{"credit": 3.0, "score": 84.0, "lesson_name": "Web开发技术", "point": 3.4}, {"credit": 3.0, "score": 88.0, "lesson_name": "管理信息系统", "point": 3.8}, {"credit": 2.0, "score": 92.0, "lesson_name": "信息资源组织与管理", "point": 4.2}, {"credit": 0.5, "score": 85.0, "lesson_name": "形势与政策教育4", "point": 3.5}, {"credit": 0.5, "score": 90.0, "lesson_name": "创新创业教育2", "point": 4.0}, {"credit": 1.0, "score": "良好", "lesson_name": "Web开发技术课程实习", "point": 3.5}, {"credit": 2.0, "score": 77.0, "lesson_name": "思政课实践环节", "point": 2.7}]
},
"2015-2016": {
"1": [{"credit": 3.5, "score": 65.0, "lesson_name": "程序设计基础", "point": 1.5}, {"credit": 1.0, "score": "良好", "lesson_name": "计算机基础实践(实验)", "point": 3.5}, {"credit": 1.0, "score": "良好", "lesson_name": "信息管理与信息系统专业导论", "point": 3.5}, {"credit": 4.5, "score": 66.0, "lesson_name": "高等数学Ⅰx1", "point": 1.6}, {"credit": 3.5, "score": 76.0, "lesson_name": "大学英语1", "point": 2.6}, {"credit": 1.0, "score": 83.0, "lesson_name": "普拉提", "point": 3.3}, {"credit": 3.0, "score": 75.0, "lesson_name": "思想道德修养与法律基础", "point": 2.5}, {"credit": 0.5, "score": 89.0, "lesson_name": "形势与政策教育1", "point": 3.9}, {"credit": 0.5, "score": 90.0, "lesson_name": "青年学生健康教育", "point": 4.0}, {"credit": 1.0, "score": "良好", "lesson_name": "程序设计基础课程设计", "point": 3.5}],
"2": [{"credit": 2.5, "score": 60.0, "lesson_name": "面向对象程序设计", "point": 1.0}, {"credit": 5.0, "score": 60.0, "lesson_name": "电路与电子技术基础", "point": 1.0}, {"credit": 5.0, "score": 74.0, "lesson_name": "高等数学Ⅰx2", "point": 2.4}, {"credit": 1.5, "score": 63.0, "lesson_name": "线性代数", "point": 1.3}, {"credit": 3.5, "score": 80.0, "lesson_name": "大学英语2", "point": 3.0}, {"credit": 1.0, "score": 80.0, "lesson_name": "健美操", "point": 3.0}, {"credit": 2.0, "score": 91.0, "lesson_name": "中国近现代史纲要", "point": 4.1}, {"credit": 2.0, "score": 89.0, "lesson_name": "军事理论", "point": 3.9}, {"credit": 0.5, "score": 83.0, "lesson_name": "大学生心理健康教育", "point": 3.3}, {"credit": 1.0, "score": "良好", "lesson_name": "面向对象程序设计实践", "point": 3.5}]
}
}
{
"学年1":{"学期1": "成绩数据", "学期2": "成绩数据"},
"学年2":{"学期1": "成绩数据", "学期2": "成绩数据"},
"学年3":{"学期1": "成绩数据", "学期2": "成绩数据"},
...
}
["课程1数据", "课程2数据", "课程3数据", ...]
{"credit": "学分", "score": "成绩", "lesson_name": "课程名称", "point": "绩点", "bkcj": "补考成绩", "cxcj":"重修成绩"}