Skip to content

Hyperplanning ​

The /hyperplanning endpoint allows you to display a Hyperplanning schedule information in JSON format from an ICS (calendar) file.

Parameters ​

ParameterRequiredDescription
urlYesThe URL of the ICS file to use and display. Must be URL-encoded before being sent
detailNoLevel of detail for events (full or list)

Detail Options ​

OptionDescription
fullDisplays a complete summary with subject, teacher, classes, date, etc.
listDisplays all data in a list

Request Example ​

bash
curl -X POST -d "url=https%3A%2F%2Fexample.com%2Ffile.ics&detail=full" "https://api.sylvain.sh/v3/hyperplanning"

Response ​

json
[
    {
        "summary": ["Mathematics", "DOE", "Class", "1", "Class", "2"],
        "subject": "Mathematics",
        "teacher": "DOE",
        "classes": ["Class 1", "Class 2"],
        "start": "2000-03-01T12:00:00.000",
        "end": "2000-03-01T14:00:00.000"
    }
]

Response Fields ​

FieldDescription
summaryArray of summary elements
subjectSubject name
teacherTeacher name
classesArray of class names
startEvent start time (ISO 8601)
endEvent end time (ISO 8601)

Error Handling ​

If parameters are missing or invalid, the API will return an error:

Error MessageDescription
Please provide a valid ICS file URL (?url={URL})The url parameter is missing or invalid