Closed mullinscr closed 1 year ago
As per #29, admin areas passed in as parameters are not being interpreted properly by the API -- just the last value gets used. See example below:
from bods_client.client import BODSClient from bods_client.models import TimetableParams bc = BODSClient(api_key) single_areas_params = TimetableParams(admin_areas=['260'], limit=1_000) single_areas_results = len(bc.get_timetable_datasets(single_areas_params).results) multiple_areas_params = TimetableParams(admin_areas=['269', '260'], limit=1_000) multiple_areas_results = len(bc.get_timetable_datasets(multiple_areas_params).results) print(single_areas_results == multiple_areas_results) >> True
As per #29, admin areas passed in as parameters are not being interpreted properly by the API -- just the last value gets used. See example below: