HTTP Method: GET
URL: http://api.cronblocks.com/get_city_like.html
Input Parameters:
api_key (required)
country (required) * see below
city (required)
data_type (optional, defaults to JSON)
Output:
array(
assoc_array(city_id
city
region_name
)
)
To assist in User Interface building, we offer the get_city_like method which will return information for cities which names start with a given string, within a given country.
* The value for country can be either the country’s exact name or ID, as returned from get_country_like
Cronblocks API Documentation – GetCityLike
HTTP Method: GET URL: http://api.cronblocks.com/get_city_like.html Input Parameters: api_key (required) country (required) * see below city (required) data_type (optional, defaults to JSON) Output: array( assoc_array(city_id city region_name ) )To assist in User Interface building, we offer the get_city_like method which will return information for cities which names start with a given string, within a given country.
* The value for country can be either the country’s exact name or ID, as returned from get_country_like
Example:
Returns:
{"api_name":"get_city_like","status":"SUCCESS","data":[{"city_id":"90244","city":"Rio De Janeiro","region_name":"Rio de Janeiro"}]}