ClassCharts API Docs

List Classes

Lists the student's classes

GET
/classes/{studentId}
/classes/{studentId}

The Authorization access token

Authorization

Authorization
Required
Basic <token>

This is the session_id returned when logging in. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=

In: header

Path Parameters

studentId
Required
integer

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

Array of classes

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