You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related, 55416 is a zip code that includes portions of both Minneapolis and St. Louis Park, MN. It's not the case that city can always be determined from the zip (or even zip + country).
Same issue with 20901: Most people use "Silver Spring, MD", but ziptastic returns "Takoma Park, MD".
According to the USPS website, the preffered result is Silver Spring.
One possible way to handle this is something like the Checkout process of Crate & Barrel, which upon Zipcode submission, provides a dropdown of all valid cities within that zipcode. Don't know if it's possible to replicate this with ziptastic, but it'd be more user-friendly.
curl http://zip.elevenbasetwo.com?zip=10115
returns:
{"country": "US", "state": "NY", "city": "NEW YORK"}
however, it should indicate that this is also a match.
{"country": "DE", "state": "BERLIN", "city": "BERLIN"}
The text was updated successfully, but these errors were encountered: