from uwaterlooapi import UWaterlooAPI uw = UWaterlooAPI(api_key="ec16c4c498c87b043a33e9903a61c51d") print uw.schedule_by_class_number("007407")