Skip to content

11. 成绩统计

Vizards edited this page Dec 12, 2018 · 1 revision

获取每个学期的科目数、总学分、总绩点,以及所有学期的科目总数、总学分、总绩点统计数据

通过解析 http://eams.uestc.edu.cn/eams/teach/grade/course/person!historyCourseGrade.action?projectType=MAJOR 获取

Url

GET /api/user/gpa

Header

参数 类型 必需 描述 示例
Content-Type string application/json application/json
Accept string application/json application/json
Authorization string Bearer Token Bearer [Your Token]

Response

status: 200 OK
{
    "code": 200,
    "data": [
        {
            "year": 0,
            "semester": 0,
            "subject": "52",
            "credit": "126.5",
            "gpa": "3.68"
        }
        {
            "year": 2015,
            "semester": 1,
            "subject": "8",
            "credit": "24",
            "gpa": "3.5"
        },
        ...
        {
            "year": 2017,
            "semester": 1,
            "subject": "10",
            "credit": "25",
            "gpa": "3.58"
        },
    ],
    "time": "2018-02-19T10:21:07Z",
    "msg": "Get Success"
}
参数名 描述 类型
data[i].year 学年 Number
data[i].semester 学期 Number
data[i].subject 学期考试门数 String
data[i].credit 学期获得的总学分 String
data[i].gpa 学期平均绩点 String

Note

  • data 数据按学年学期顺序排列,从早到晚
  • data[0] 中的 yearsemester 均为 0,此为所有学期统计数据
Clone this wiki locally