def get_all(): stations = [] st_range = 0 for comune in COMUNES: spec = TOBikeStation spec.main_url = URL.format(id = comune['id']) comune_stations = bicincittanew.get_all(TOBikeStation, st_range) st_range += len(comune_stations) stations += comune_stations return stations
def get_all(): stations = [] st_range = 0 for comune in COMUNES: spec = TOBikeStation spec.main_url = URL.format(id=comune['id']) comune_stations = bicincittanew.get_all(TOBikeStation, st_range) st_range += len(comune_stations) stations += comune_stations return stations
def get_all(): return bicincittanew.get_all(GoodBikeStation)
def get_all(): return bicincittanew.get_all(TigullionbikeStation)
def get_all(): return bicincittanew.get_all(VeniceStation)