[Python-talk] Kent's Korner?
Kent Johnson
kent37 at tds.net
Fri Oct 19 09:10:05 EDT 2007
Ric Werme wrote:
> One thing I was thinking of using Beautiful Soup for was in code I need
> for a Peridocals Mail permit to convert people's addresses to the ZIP+4
> code. See http://zip4.usps.com/zip4/welcome.jsp . The result is a page
> with a 200 line body (and 700 line head) and changes every so often, I think
> in part to annoy bulk converters (I do a dozen or two a month).
They seem to have an XML API, why not use that?
http://www.usps.com/webtools/address.htm
http://www.usps.com/webtools/htm/Address-Information.htm
Kent
More information about the Python-talk
mailing list