Skip to content

A status API for the Wake County Public School System

License

Notifications You must be signed in to change notification settings

pcon/wcpss_status

Repository files navigation

Wake County Public School System (WCPSS) API

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.

Available 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

Implementation notes

  • 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()

Todo List

  • 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

About

A status API for the Wake County Public School System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published