We are developing our website in django framework and with python. currently we are looking for an api/a tool to validate the physical addres the user enters. It doesn't need to be vey sophisticated. We just need to avoid spam registrations. For this step, we need to verify if country, state, city, and zipcode are belong to each other. For instance, Berkeley as a city with Zipcode 94704 is not in NY state, etc. Any thoughts?
+1
A:
You could probably use a GeoCoding service (like Google's) to verify that an address exists.
Matthew J Morrison
2010-08-23 18:47:06
thanks Matthew. does it give us this ability to test if a zipcode belongs to a city or a state? i'm trying to avoid useing coordinators!
Sara
2010-08-23 20:27:26
I assume, that if you pass an invalid zip code the GeoCoding service would not find the address.
Matthew J Morrison
2010-08-24 02:13:26