Exemple #1
0
print mtd.get_route('GREEN')

print "Testing GetRoutes"
print mtd.get_routes()

print "Testing GetShape"
print mtd.get_shape('5E')

print "Testing GetShapeBetweenStops"
print mtd.get_shape_between_stops('GRNNEIL:6', 'IU:1', '5E')

print "Testing GetStop"
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')