GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
Help with API call please
Forum Index
->
General
Author
Message
30/03/2024 17:47:47
Subject:
Help with API call please
emmerson444
Joined: 24/03/2024 14:51:50
Messages: 1
Offline
Firstly I am getting 2 api requests come through at once but that could be my code. Next thing is I am not getting any population results from the call. I have put below my http. I am new to this could someone tell me what I am doing wrong?
API Request URL:
http://api.geonames.org/search?name=Leeds&country=United+Kingdom&type=json&username=xxx
API Request URL:
http://api.geonames.org/search?name=Leeds&country=United
Kingdom&type=json&username=xxx
22/04/2024 10:04:29
Subject:
Help with API call please
tequipo
Joined: 16/04/2024 15:57:55
Messages: 2
Offline
The country parameter must be the countryCode:
http://api.geonames.org/search?name=Leeds&country=UK&type=json&username=xxx
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About