Cities¶
New in v1.0
The cities
endpoint has full support, including query validation.
Endpoint | Function | Client method |
Filters class |
---|---|---|---|
"cities" |
cities |
Client.cities |
CitiesFilters |
For more information on available filters and functionality, see the Fount documentation for the cities
endpoint.
Usage¶
Available filters in function calls¶
These filters are available directly within the function/method:
- Positional filters:
name
,capitals
,countries
,in_best_countries
- Keyword filters:
city_id
For other filters, passing a CitiesFilters
instance to the filters
parameter is required.