Skip to content

πŸŽ“πŸ“†πŸ”ŒAPI for ESIEE Paris's Calendar (Classes, Room availability...)

License

Notifications You must be signed in to change notification settings

BDE-ESIEE/API-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

60 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ESIEE API

An exhaustive API for ESIEE's calendar Codeship Badge

Reference

The base URI for the API is /api/calendar/

Querying upcoming activities

An activity is composed of:

  • The name of the activity (mainly the subject name).
  • A description containing most of the time the groups concerned, the name of the subject, the name of the teacher and the export date.
  • The starting time of the avtivity.
  • The ending time of the activity.
  • The rooms where the avtivity take place.

This result in the following JSON template:

{
	"name"       : "String",
	"description": "String",
	"start"      : "Date",
	"end"        : "Date",
	"rooms"      : [
		"String"
	]
}
URI Description
/api/calendar/activities Query all upcoming activities.
/api/calendar/activities/n Query n upcoming activities.
/api/calendar/activities/n/s Query n upcoming activities and skip the s first ones.

Querying upcoming tests

A test is an activity and therefore has the same template.

URI Description
/api/calendar/tests Query all upcoming tests.
/api/calendar/tests/promotion Query all upcoming tests for this promotion. (Currently support only tests with a name of type AAA-0000:CTRL)

Querying free rooms

A room is only a String, which means that the result will be like:

[
	"Room1",
	"Room2",
	"Room3",
	"…"
]
URI Description
/api/calendar/rooms Query all rooms that are currently free.
/api/calendar/rooms/time Query all rooms that are free at time.

About

πŸŽ“πŸ“†πŸ”ŒAPI for ESIEE Paris's Calendar (Classes, Room availability...)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published