Jeff,
Not sure what you are needing, exactly, but if you're interested, I use
the address standardization/correction Web API provided by the USPS.COM
and it works extremely well. You do have to set up an account with the
USPS (to receive the necessary USER ID and password for your "account")
but they have been responsive and supportive in my experience. It's been
a few years, but I think the entire process took two or three days.
Also, from time to time they change the API but a notice is sent out
several months in advance and they tend to leave the old URL/API system
active for a few weeks past the announced shut-off date. (The URL only
changes when they make a BIG change to the API.)
Be aware that they sometimes have mistakes in their database that take
forever to get corrected, and new addresses (such as for new
sub-developments) can lag behind reality by a few months.
The pseudo-code is
1. obtain as much as possible of the street address, city, state, zip
from source (end user)
2. submit a URL string (I use West Wind WWIPStuff) that uses the XML
style and includes your account name, password, and the service requested
3. parse the returned XML string
The USPS system is responsive enough that the process is transparent to
the end-user.
Mike Copeland
Jeff Johnson wrote:
When parsing addresses some cities can be two or three words. Has
anyone seen a list of prefixes? For example "New" in "New River" or
"St." in "St. Johns".
TIA
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.