ClassCharts API Docs

List Lessons

Gets the student's lessons for a given date

GET
/timetable/{studentId}
/timetable/{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

Query Parameters

datestring

Format: "date"
curl -X GET "https://www.classcharts.com/apiv2student/timetable/0?date=2019-08-24" \
  -H "Authorization: Basic <token>"

Array of lessons

{
  "data": [
    {
      "teacher_name": "string",
      "teacher_id": "string",
      "lesson_name": "string",
      "subject_name": "string",
      "is_alternative_lesson": true,
      "is_break": true,
      "period_name": "string",
      "period_number": "string",
      "room_name": "string",
      "date": "string",
      "start_time": "string",
      "end_time": "string",
      "key": 0,
      "note_abstract": "string",
      "note": "string",
      "pupil_note_abstract": "string",
      "pupil_note": "string",
      "pupil_note_raw": "string"
    }
  ],
  "meta": {
    "dates": [
      "string"
    ],
    "timetable_dates": [
      "string"
    ],
    "periods": [
      {
        "number": "string",
        "start_time": "string",
        "end_time": "string"
      }
    ],
    "start_time": "string",
    "end_time": "string"
  },
  "success": 0
}