List Classes

Lists the student's classes

GET
/classes/{studentId}

Authorization

Authorization<token>

This is the session_id returned when logging in. It must be prefixed with Basic. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=

In: header

Path Parameters

studentIdRequiredinteger
curl -X GET "https://www.classcharts.com/apiv2student/classes/0" \
  -H "Authorization: <token>"

Array of classes

{
  "data": [
    {
      "id": 0,
      "name": "string",
      "room": "string",
      "subject": "string",
      "teacher": "string",
      "teachers": [
        "string"
      ]
    }
  ],
  "meta": [
    null
  ],
  "success": 0
}