This repo provides an API for the WCPSS calendar. It is built nightly at 01:05 AM (0105) Eastern Time or whenever the repository is updated. I pushed the time an hour later to not have to worry about DST changes. If you need better granularity, either run it yourself or look at using one of the other forward looking endpoints.
Request | Endpoint | Description |
---|---|---|
GET | /api/today/ |
Get today's status |
GET | /api/tomorrow/ |
Get tomorrow's status |
GET | /api/thisweek/ |
Get this week's status |
GET | /api/nextweek/ |
Get next week's status |
- For the week views, the first day of the week is Monday following the ISO week standard. For people using this in conjunction with Home Assistant you can get the index into the array by using
now().weekday()
- Define structure for data
- Add 2019-2020 and 2020-2021 calendar years for all types
- Add validation for data files
- Add linting for all scripts
- Add endpoint for "today"
- Add endpoint for "tomorrow"
- Add endpoint for "this week"
- Add endpoint for "next week"
- Add calendar view