Skip to main content
Version: v2

Cities

info

Read more in the API documentation for the cities endpoint.

The cities endpoint has full support, including query validation.

EndpointFunctionClient methodFilters class
"cities"citiesClient.citiesCitiesFilters

Usage

Using top-level functions
import bavapi

result = bavapi.cities("TOKEN", name="Paris")

Available filters in function calls

These filters are available directly within the function/method:

  • Positional filters: capitals, countries, in_best_countries
  • Keyword filters: city_id

For other filters, passing an CitiesFilters instance to the filters parameter is required.