Closed khof312 closed 4 years ago
Sometimes you might want to check what geolocations are available -- for example, I wanted to list all regions matching "Indonesia" country code.
To do this, we muss pass no query to the API, only geolocation type and country code.
I modified get_geo_locations_given_query_and_location_type to properly handle a situation where the query argument is None.
get_geo_locations_given_query_and_location_type
query
None
Sometimes you might want to check what geolocations are available -- for example, I wanted to list all regions matching "Indonesia" country code.
To do this, we muss pass no query to the API, only geolocation type and country code.
I modified
get_geo_locations_given_query_and_location_type
to properly handle a situation where thequery
argument isNone
.