Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.06 KB

Ziptastic

We have moved to GetZiptastic.com!


Important

We recommend using GeoIP to determine the country code of your visitor as a suggestion when they are filling out your form. (http://pointlessrants.com/posts/python-geoip-python-geoip-cities-tutorial/)

Notes

We are now using the geonames.org database for postal codes. There are many more countries we support.

Available country codes: AD, AR, AS, AT, AU, BD, BE, BG, BR, CA, CH, CZ, DE, DK, DO, ES, FI, FO, FR, GB, GF, GG, GL, GP, GT, GU, GY, HR, HU, IM, IN, IS, IT, JE, JP, LI, LK, LT, LU, MC, MD, MH, MK, MP, MQ, MX, MY, NL, NO, NZ, PH, PK, PL, PM, PR, PT, RE, RU, SE, SI, SJ, SK, SM, TH, TR, US, VA, VI, YT, ZA

Usage

v2

This is the new updated version and requires that you pass in the country code as well.

Example: http://zip.getziptastic.com/v2/US/48867

v1

This version only supports US postal codes and can be accessed like this...

Example: http://zip.getziptastic.com/48867 and http://zip.getziptastic.com/?zip=48867