Example #1
0
print mtd.get_stop(['GRNNEIL', 'IU'])

print "Testing GetStops"
print mtd.get_stops()

print "Testing GetStopsByLatLon"
print mtd.get_stops_by_lat_lon('40.110999', '-88.245728')

print "Testing GetStopsBySearch"
print mtd.get_stops_by_search('state and william')

print "Testing GetStopTimesByTrip"
print mtd.get_stop_times_by_trip('1GN513__GN1')

print "Testing GetStopTimesByStop"
print mtd.get_stop_times_by_stop('GRNNEIL')

print "Testing GetPlannedTripsByLatLon"
print mtd.get_planned_trips_by_lat_lon('40.110999', '-88.245728', '40.107783', '-88.23163')

print "Testing GetPlannedTripsByStops"
print mtd.get_planned_trips_by_stops('GRNNEIL', 'IU')

print "Testing GetTrip"
print mtd.get_trip('1GN513__GN1')

print "Testing GetTripsByBlock"
print mtd.get_trips_by_block('GN1')

print "Testing GetTripsByRoute"
print mtd.get_trips_by_route('GREEN')