Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
611 lines (572 loc) · 13 KB

term_subject_schedule.md

File metadata and controls

611 lines (572 loc) · 13 KB

Subject Schedule by Term

GET /terms/{term}/{subject}/schedule.{format}

Description

This method returns all class schedule for the given subject for a given term

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1399 Enabled Yes
Service Name terms Service ID 241
Information Steward Registrar Data Type Scraped
Update Frequency Every hour Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /terms/{term}/{subject}/schedule.{format}
Parameter Type Required Description
term input yes Four digit term representation
subject input yes Valid uWaterloo subject name
format input yes The format of the output
key filter yes Valid API key
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /terms/{term}/{subject}/schedule.{format}

Response

Field Name Type Value Description
subject string Requested subject acronym
catalog_number string Registrar assigned class number
units number Credit count for the mentioned course
title string Class name and title
note string Additional notes regarding enrollment for the given term
class_number integer Associated term specific class enrollment number
section string Class instruction and number
campus string Name of the campus the course is being offered
associated_class integer Associated class id
related_component_1 string Name of the related course component
related_component_2 string Name of the second related course component
enrollment_capacity integer Class enrollment capacity
enrollment_total integer Total current class enrollment
waiting_capacity integer Class waiting capacity
waiting_total string Total current waiting students
topic string Class discussion topic
reserves object Course specific enrollment reservation data
reserve_group string Name of the reserved group
enrollment_capacity integer Total enrollment capacity of the group
enrollment_total integer Total reserve enrollment
classes object Schedule data
date object Date object for course schedule
start_time string 24 hour class starting time
end_time string 24 hour class ending time
weekdays string Weekdays the course is offered
start_date string Additional starting date for course
end_date string Additional ending date for course
is_tba boolean If the course schedule is TBA
is_cancelled boolean If the course is cancelled for the term
is_closed boolean If the course is closed for the term
location object Class location details
building string Name of the building
room string Room number from the building
instructors list Names of instructors teaching the course
held_with list A list of classes the course is held with
term integer 4 digit term representation
academic_level string Undergraduate or graduate course classification
last_updated string ISO8601 timestamp of when the data was last updated

Any value can be null

Output

JSON

{
  "meta":{
    "requests":308,
    "timestamp":1384538352,
    "status":200,
    "message":"Request successful",
    "method_id":1399,
    "version":2.07,
    "method":{
      "disclaimer":"Review the 'No Warranty' section of the University of Waterloo Open Data License before using this data. If building services upon this data, please inform your users of the inherent risks (as a best practice)",
      "license":"https:\/\/uwaterloo.ca\/open-data\/university-waterloo-open-data-license-agreement-v1"
    }
  },
  "data":[
    {
      "subject":"MATH",
      "catalog_number":"97",
      "units":2.5,
      "title":"Study Abroad",
      "note":null,
      "class_number":5407,
      "section":"LEC 001",
      "campus":"OFF ABROAD",
      "associated_class":1,
      "related_component_1":null,
      "related_component_2":null,
      "enrollment_capacity":20,
      "enrollment_total":27,
      "waiting_capacity":0,
      "waiting_total":0,
      "topic":null,
      "reserves":[
        
      ],
      "classes":[
        {
          "dates":{
            "start_time":null,
            "end_time":null,
            "weekdays":null,
            "start_date":null,
            "end_date":null,
            "is_tba":true,
            "is_cancelled":false,
            "is_closed":false
          },
          "location":{
            "building":null,
            "room":null
          },
          "instructors":[
            
          ]
        }
      ],
      "held_with":[
        
      ],
      "term":1139,
      "academic_level":"undergraduate",
      "last_updated":"2013-11-15T12:01:52-05:00"
    },
    {
      "subject":"MATH",
      "catalog_number":"103",
      "units":0.5,
      "title":"Introductory Algebra for Arts and Social Science",
      "note":null,
      "class_number":5298,
      "section":"LEC 001",
      "campus":"UW U",
      "associated_class":1,
      "related_component_1":"101",
      "related_component_2":null,
      "enrollment_capacity":60,
      "enrollment_total":51,
      "waiting_capacity":0,
      "waiting_total":0,
      "topic":null,
      "reserves":[
        {
          "reserve_group":"PSYCH students ",
          "enrollment_capacity":34,
          "enrollment_total":29
        }
      ],
      "classes":[
        {
          "dates":{
            "start_time":"12:30",
            "end_time":"13:20",
            "weekdays":"MWF",
            "start_date":null,
            "end_date":null,
            "is_tba":false,
            "is_cancelled":false,
            "is_closed":false
          },
          "location":{
            "building":"MC",
            "room":"4040"
          },
          "instructors":[
            "Ferguson,Barry"
          ]
        }
      ],
      "held_with":[
        
      ],
      "term":1139,
      "academic_level":"undergraduate",
      "last_updated":"2013-11-15T12:01:52-05:00"
    },
    {
      "subject":"MATH",
      "catalog_number":"103",
      "units":0.5,
      "title":"Introductory Algebra for Arts and Social Science",
      "note":null,
      "class_number":5299,
      "section":"TUT 101",
      "campus":"UW U",
      "associated_class":1,
      "related_component_1":null,
      "related_component_2":null,
      "enrollment_capacity":60,
      "enrollment_total":51,
      "waiting_capacity":0,
      "waiting_total":0,
      "topic":null,
      "reserves":[
        
      ],
      "classes":[
        {
          "dates":{
            "start_time":"16:30",
            "end_time":"17:20",
            "weekdays":"T",
            "start_date":null,
            "end_date":null,
            "is_tba":false,
            "is_cancelled":false,
            "is_closed":false
          },
          "location":{
            "building":"MC",
            "room":"4040"
          },
          "instructors":[
            
          ]
        }
      ],
      "held_with":[
        
      ],
      "term":1139,
      "academic_level":"undergraduate",
      "last_updated":"2013-11-15T12:01:52-05:00"
    },
    {
      "subject":"MATH",
      "catalog_number":"103",
      "units":0.5,
      "title":"Introductory Algebra for Arts and Social Science",
      "note":null,
      "class_number":9375,
      "section":"LEC 081",
      "campus":"ONLN ONLINE",
      "associated_class":81,
      "related_component_1":null,
      "related_component_2":null,
      "enrollment_capacity":45,
      "enrollment_total":33,
      "waiting_capacity":0,
      "waiting_total":0,
      "topic":null,
      "reserves":[
        {
          "reserve_group":"PSYCH students ",
          "enrollment_capacity":8,
          "enrollment_total":8
        }
      ],
      "classes":[
        {
          "dates":{
            "start_time":null,
            "end_time":null,
            "weekdays":null,
            "start_date":null,
            "end_date":null,
            "is_tba":true,
            "is_cancelled":false,
            "is_closed":false
          },
          "location":{
            "building":null,
            "room":null
          },
          "instructors":[
            "Ferguson,Barry"
          ]
        }
      ],
      "held_with":[
        
      ],
      "term":1139,
      "academic_level":"undergraduate",
      "last_updated":"2013-11-15T12:01:52-05:00"
    },
    {
      "subject":"MATH",
      "catalog_number":"104",
      "units":0.5,
      "title":"Introductory Calculus for Arts and Social Science",
      "note":null,
      "class_number":5613,
      "section":"LEC 001",
      "campus":"UW U",
      "associated_class":1,
      "related_component_1":"101",
      "related_component_2":null,
      "enrollment_capacity":90,
      "enrollment_total":75,
      "waiting_capacity":0,
      "waiting_total":0,
      "topic":null,
      "reserves":[
        {
          "reserve_group":"Year 1 Arts students ",
          "enrollment_capacity":28,
          "enrollment_total":24
        }
      ],
      "classes":[
        {
          "dates":{
            "start_time":"09:30",
            "end_time":"10:20",
            "weekdays":"MWF",
            "start_date":null,
            "end_date":null,
            "is_tba":false,
            "is_cancelled":false,
            "is_closed":false
          },
          "location":{
            "building":"MC",
            "room":"2038"
          },
          "instructors":[
            "Ali Akbari,Shahla"
          ]
        }
      ],
      "held_with":[
        
      ],
      "term":1139,
      "academic_level":"undergraduate",
      "last_updated":"2013-11-15T12:01:52-05:00"
    }
  ]
}