Skip to content

学生成绩

本科生成绩均分

描述

本科生成绩均分

支持的模式

  • authorization_code
  • client_credentials
  • password

请求方法

GET

请求地址

https://api.ecnu.edu.cn/api/v1/archive/avg/bks

请求参数

参数名是否必填备注
userId用户名,即学工号,当授权为authorization_code和password模式时可省略

返回参数

参数名类型备注
xhstring学号
xmstring姓名
jfnumber均分
userIdstring学号

请求示例

curl -i -H "Authorization: Bearer e447e4b4b8e23973b42c44b8d5415603" "https://api.ecnu.edu.cn/api/v1/archive/avg/bks?userId=10********"

返回示例

json
{
  "data": [
    {
      "xh": "10**********",
      "xm": "金***",
      "jf": 71.52,
      "userId": "10**********"
    }
  ],
  "errCode": 0,
  "requestId": "6a0f0e4b16242860433827285e5281",
  "errMsg": "success",
  "apiLog": null
}

本科生各科成绩

描述

本科生各科成绩

支持的模式

  • authorization_code
  • client_credentials
  • password

请求方法

GET

请求地址

https://api.ecnu.edu.cn/api/v1/archive/grades/bks

请求参数

参数名是否必填备注
userId用户名,即学工号,当授权为authorization_code和password模式时可省略
xq学期
xn学年

返回参数

参数名类型备注
xmstring姓名
xhstring学号
userIdstring学号
kcmcstring课程名称
kcdmstring课程代码
scorestring分数
scoreTextstring分数等级
gpnumber等级绩点
xqstring学期
xnstring学年
sfcxstring是否重修

请求示例

curl -i -H "Authorization: Bearer e447e4b4b8e23973b42c44b8d5415603" "https://api.ecnu.edu.cn/api/v1/archive/grades/bks?userId=10********&xq=1&xn=2013-2014"

返回示例

json
{
  "data": [
    {
      "xh": "101******26",
      "score": "81",
      "kcdm": "BIO***************0",
      "xn": "2013-2014",
      "gp": 3.3,
      "xq": "2",
      "scoreText": "B+",
      "kcmc": "免疫学",
      "userId": "101******26",
      "sfcx": "正常"
    },
    {
      "xh": "101******26",
      "score": "89",
      "kcdm": "BIO**************1",
      "xn": "2013-2014",
      "gp": 3.7,
      "xq": "2",
      "scoreText": "A-",
      "kcmc": "中医基础理论",
      "userId": "101******26",
      "sfcx": "正常"
    },
    {
      "xh": "101******26",
      "score": "67",
      "kcdm": "BIO*************3",
      "xn": "2013-2014",
      "gp": 3,
      "xq": "2",
      "scoreText": "B",
      "kcmc": "有机化学及实验",
      "userId": "101******26",
      "sfcx": "重修"
    },
    {
      "xh": "101******26",
      "score": "70",
      "kcdm": "BIO**************5",
      "xn": "2013-2014",
      "gp": 2.5,
      "xq": "2",
      "scoreText": "B-",
      "kcmc": "遗传学及实验",
      "userId": "101******26",
      "sfcx": "正常"
    },
    {
      "xh": "101******26",
      "score": "87",
      "kcdm": "COE**************0",
      "xn": "2013-2014",
      "gp": 3.7,
      "xq": "2",
      "scoreText": "A-",
      "kcmc": "剑桥商务英语(中级)",
      "userId": "101******26",
      "sfcx": "正常"
    }
  ],
  "errCode": 0,
  "requestId": "6a0f0ef016326450080662183e6879",
  "errMsg": "success",
  "apiLog": null
}

本科生总成绩

描述

本科生毕业论文成绩、总学分、绩点等

支持的模式

  • authorization_code
  • client_credentials
  • password

请求方法

GET

请求地址

https://api.ecnu.edu.cn/api/v1/archive/totalgrades/bks

请求参数

参数名是否必填备注
userId用户名,即学工号,当授权为authorization_code和password模式时可省略

返回参数

参数名类型备注
xhstring学号
userIdstring学号
lwtmstring论文题目
bylwcjstring毕业论文成绩
zxfstring总学分
pjjdstring平均绩点
lwywmstring论文英文名

请求示例

curl -i -H "Authorization: Bearer e447e4b4b8e23973b42c44b8d5415603" "https://api.ecnu.edu.cn/api/v1/archive/totalgrades/bks?userId=10********"

返回示例

json
{
  "data": [
    {
      "xh": "10*********",
      "pjjd": "3.57",
      "lwtm": "寻求者的注视方向及面部表情对建议者建议提出的影响",
      "zxf": "147",
      "lwywm": "",
      "userId": "10*********",
      "bylwcj": ""
    }
  ],
  "requestId": "65841f9216261422625567615e7bbb",
  "errCode": 0,
  "errMsg": "success",
  "apiLog": null
}

研究生各科成绩

描述

本科生各科成绩

支持的模式

  • authorization_code
  • client_credentials
  • password

请求方法

GET

请求地址

https://api.ecnu.edu.cn/api/v1/archive/grades/yjs

请求参数

参数名是否必填备注
userId用户名,即学工号,当授权为authorization_code和password模式时可省略
xq学期
xn学年

返回参数

参数名类型备注
xmstring姓名
xhstring学号
userIdstring学号
kcmcstring课程名称
kcdmstring课程代码
scorestring分数
gpstring等级绩点
xqstring学期
xnstring学年
sftgstring是否通过(1通过,0不通过)
sfcxstring是否重修(正常/重修)

请求示例

curl -i -H "Authorization: Bearer e447e4b4b8e23973b42c44b8d5415603" "https://api.ecnu.edu.cn/api/v1/archive/grades/yjs?userId=51********&xq=2&xn=2017-2018"

返回示例

json
{
    "errCode": 0,
    "errMsg": "success",
    "requestId": "05a421a5-652a-4a5a-bb92-4e59acd87f4d",
    "data": [
        {
            "userId": "51********6",
            "xh": "51*******6",
            "xm": "高**",
            "score": "69",
            "xn": "2017-2018",
            "xq": "2",
            "gp": "2.0",
            "kcmc": "商务英语交际",
            "kcdm": "T********3",
            "sftg": 1,
            "sfcx": "正常"
        },
        {
            "userId": "51*******6",
            "xh": "51*******6",
            "xm": "高**",
            "score": "65",
            "xn": "2017-2018",
            "xq": "2",
            "gp": "1.7",
            "kcmc": "代数学(II)",
            "kcdm": "MA******3",
            "sftg": 1,
            "sfcx": "正常"
        },
        {
            "userId": "51*******6",
            "xh": "51*******6",
            "xm": "高**",
            "score": "72",
            "xn": "2017-2018",
            "xq": "2",
            "gp": "2.3",
            "kcmc": "几何与拓扑(II)",
            "kcdm": "MA******1",
            "sftg": 1,
            "sfcx": "正常"
        },
        {
            "userId": "51*******6",
            "xh": "51*******6",
            "xm": "高**",
            "score": "76",
            "xn": "2017-2018",
            "xq": "2",
            "gp": "2.7",
            "kcmc": "代数几何 I",
            "kcdm": "MA******8",
            "sftg": 1,
            "sfcx": "正常"
        }
    ]
}