An API for accessing structured Los Rios Community College class data.
- From a command prompt / terminal window / shell window run
node app.js
. - Navigate to
localhost:3000/api/1159/ARC/ACCT
This will return data for the Accounting classes being held at American River College during the Fall 2015 semester.
If you are using a web browser to make requests to the API, I suggest installing an add-on, such as JSONView for Firefox, to make reading the JSON easier.
Calls to the API can be constructed as follows:
[host]/api/[semester code]/[campus code]/[subject code]
- Spring 2015:
1153
- Summer 2015:
1156
- Fall 2015:
1159
- American River College:
ARC
- Cosumnes River College:
CRC
- Folsom Lake College:
FLC
- Sacramento City College:
SCC
- Accounting:
ACCT
- Administration of Justice:
ADMJ
- Biology:
BIOL
- Business:
BUS
- English - Education:
ENGED
- Spanish:
SPAN
A full list of the subject codes can be found on the Los Rios Community College District class search website.