Courses


The courses API got a reboot to conceptually separate courses and sections. There are two courses endpoints: courses/v2/courses and courses/v2/sections. All the sections for a course come embedded in that course. The query parameters for the two are pretty disjoint for now; this should be fixed at some point.

Endpoint courses

GET Request

http://data.adicu.com/api/courses/<term>/<cid>?key=API_TOKEN

Response

{
    "status_code": 200,
    "data": [
        {
            "DepartmentCode": "COMS",
            "Sections": [
                {
                    "Course": "CBMF4761",
                    "Term": "20131",
                    "TypeName": "LECTURE",
                    "NumEnrolled": 14,
                    "Room2": null,
                    "Room1": "1127",
                    "EndTime2": "None",
                    "MeetsOn2": null,
                    "CampusName": "MORNINGSIDE",
                    "EndTime1": "17:25:00",
                    "Building1": "SEELEY W. MU",
                    "Instructor1Name": "PE'ER, ITSHACK",
                    "MaxSize": 75,
                    "Building2": null,
                    "CampusCode": "MORN",
                    "CallNumber": 69280,
                    "MeetsOn1": "MW",
                    "SectionFull": "CBMF4761W001",
                    "StartTime1": "16:10:00",
                    "StartTime2": "None"
                }
            ],
            "MaxUnits": 0,
            "Course": "CBMF4761",
            "CourseSubtitle": "COMPUTATIONAL GENOMICS",
            "MinUnits": 0,
            "Description": "Provides comprehensive introduction to computational techniques for analyzing genomic data including DNA, RNA and protein structures; microarrays; transcription and regulation; regulatory, metabolic and protein interaction networks. The course covers sequence analysis algorithms, dynamic programming, hidden Markov models, phylogenetic analysis, Bayesian network techniques, neural networks, clustering algorithms, support vector machines, Boolean models of regulatory networks, flux based analysis of metabolic networks and scale-free network models. The course provides self-contained introduction to relevant biological mechanisms and methods.",
            "NumFixedUnits": 30,
            "DepartmentName": "COMPUTER SCIENCE",
            "SchoolName": "INTERFACULTY",
            "CourseTitle": "COMPUTATIONAL GENOMICS",
            "Approval": ""
        }
    ],
    "status_txt": "OK"
}

Query Parameters

title

string

courseid

string

school

string

department

string

description

string (be careful with this pretty please, it's an expensive query)

course

string

course_full

string

Endpoint sections

GET Request

Response

{
    "status_code": 200,
    "data": [
        {
            "Term": "20131",
            "CampusName": "BARNARD COLLEGE",
            "StartTime2": "None",
            "StartTime1": "13:10:00",
            "Course": "SPAN1102",
            "CampusCode": "CBAR",
            "Instructor1Name": "ARCE-FERNANDEZ, MARIA I",
            "Building1": "MILBANK HALL",
            "Building2": null,
            "NumEnrolled": 16,
            "CallNumber": 511,
            "MeetsOn1": "MTWR",
            "SectionFull": "SPAN1102W013",
            "EndTime1": "14:15:00",
            "EndTime2": "None",
            "MeetsOn2": null,
            "TypeName": "LANGUAGE",
            "MaxSize": 15,
            "Room2": null,
            "Room1": "237"
        }
    ],
    "status_txt": "OK"
}

Query Parameters

class_type

string

meets_on

string

ends_at

time: HH:MM

not_full

boolean

campus

string

professor

string

term

string

students_less_than

int

section_full

string

starts_at

time HH:MM

courseid

string

starts_after

time HH:MM

starts_before

time HH:MM

call_number

int

ends_before

time: HH:MM

ends_after

time: HH:MM

building

string

course

string