GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
US Zipcode missing but not
Forum Index
->
Postal Codes
Author
Message
02/07/2012 18:48:50
Subject:
US Zipcode missing but not
chase
Joined: 02/07/2012 00:27:23
Messages: 1
Offline
When I do a postalCodeLookupJSON query for ZIPCODE=20001, I don't get any hits for countryCode=US.
If I do a postalcode-search.html query for ZIPCODE=20001, I do get a hit for countryCode=US.
Is there something I'm doing wrong? Or is this just a minor inconsistency?
Thanks!
02/07/2012 18:54:31
Subject:
Re:US Zipcode missing but not
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Probably something wrong with the way you build your query.
Here it returns a hit :
http://api.geonames.org/postalCodeLookupJSON?postalcode=20001&country=us&username=demo
Marc
03/02/2013 08:34:01
Subject:
Re:US Zipcode missing but not
ronsaroyan
Joined: 01/01/2013 06:12:50
Messages: 1
Offline
Is there such a script as to get a user to input their US postal code and the script can tell what city they are in?
Thanks
-Ron
04/02/2013 06:26:13
Subject:
Re:US Zipcode missing but not
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Hi Ron
The postalCodeSearch service accepts a postalcode and returns information for it:
http://www.geonames.org/export/web-services.html#postalCodeSearch
Best Regards
Marc
Forum Index
->
Postal Codes
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