Public Repository

Last pushed: 2 years ago
Short Description
Microservice provides REST API to query information about schools in the Beaverton School District.
Full Description

Current schools supported include:

Rock Creek ES
Stoller MS
Westview HS

To start the service, run a command like:

docker run -d -p 9999:9999 bakchoy/beavertonschoolcalendar

To obtain information about a specific day for a specific school call:

/api/v1/dayInfo?school=stoller&year=2016&month=4&day=8

All of the arguments are optional. The default "school" is the generic district calendar. The default day, month, and year are all for "today". The service returns JSON like:

{
"day": 8,
"month": 2,
"type": "B",
"year": 2016
}

The day, month, and year identify the date and the "type" describes what type of day. Various types include:

None - no information in the calendar (such as summer or weekend)
A - "A" day at the school
B - "B" day at the school
1-8 - Day number for the specials schedule
CONF - Conference day/no students
G - Grading all schools/no students
SC - Schools closed
TG/SSD - Trimester grading/semester staff dev/workday/no students
SG/TSD - Semester grading/trimester staff dev/no students
SSD/TA - Semester staff dev/trimester assessment/no students
SD - Staff dev/workday/no students
PS Pre-service/no students
ACT - Testing day - no seniors
F - Finals

Docker Pull Command
Owner
bakchoy

Comments (0)