databaseGetCities function

Returns a list of cities

Returns a list of cities

databaseGetCities( country_id = "", region_id = "", q = "", need_all = "1", offset = "", count = "100", v = getAPIVersion() )

Arguments

  • country_id: Country ID
  • region_id: Region ID
  • q: Search query
  • need_all: 1 - to return all cities in the country; 0 - to return major cities in the country (default)
  • offset: Offset needed to return a specific subset of cities
  • count: Number of cities to return
  • v: Version of API

Examples

## Not run: databaseGetCities(country_id=1, need_all=0) ## End(Not run)
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29