cmu
index
/Users/tom/workspace/cmupy/cmu.py

A library for ScottyLabs APIs
 
Exported Classes:
Scheduling -- A library for accessing ScottyLabs's API for CMU
Scheduling.

 
Modules
       
datetime
itertools
requests

 
Classes
       
Scheduling

 
class Scheduling
    A library for accessing ScottyLabs's API for CMU Scheduling.
 
Public functions:
request -- Make a request to the scheduling API
 
departments -- Get a list of all the departments for a given
semester
 
courses -- Get a list of all the courses under a given
department for a given semester
 
course -- Get information about a given course for a given
semester
 
  Methods defined here:
__init__(self, app_id=None, app_secret_key=None)
course(self, semester='S14', course_id=None, department=None, course_number=None)
Get information about a given course for a given semester
courses(self, semester='S14', department=None)
Get a list of all the courses under a given department for
a given semester
departments(self, semester='S14')
Get a list of all the departments for a given semester
request(self, uri, limit=None, page=None)
Make a request to the scheduling API

 
Functions
       
current_semester()
Returns the most recent semester that the APIs will have data for