Geo-Targetting
Perform City Targeting
Execute a City level geo-targeting request using proxy credentials.
How to Specify City
If you need to geo-target requests at the city level, simply append
-city-<city_name>
after the
<geonode_username>-country-<country_code>
.
Note that you can not target state and city at the same time.
Response
200
application/json
Successful response from City Targeting API.
Indicates the status of the request.
Example:
"success"
The name of the continent.
Example:
"North America"
The two-letter continent code.
Example:
"NA"
The full name of the country.
Example:
"United States"
The two-letter country code.
Example:
"US"
The region code.
Example:
"AL"
The full name of the region.
Example:
"Alabama"
The name of the city.
Example:
"Decatur"
The district name, if available.
Example:
""
The postal code associated with the IP.
Example:
35601
The queried IP address.
Example:
"68.191.141.86"