Page 1 of 1
Fedex shipping zone api?
Posted: Tue May 12, 2009 3:29 pm
by allspiritseve
Just a quick question, but does anybody know a simple way to get a fedex shipping zone from a zip code? All I can find are huge SOAP classes that don't seem to have simple apis or documentation, and I've never worked with SOAP before.
Re: Fedex shipping zone api?
Posted: Tue May 12, 2009 4:14 pm
by Christopher
I recall that I downloaded their zone data and used it. It think only a few digits are significant.
Re: Fedex shipping zone api?
Posted: Tue May 12, 2009 4:28 pm
by allspiritseve
Hmmm.. I downloaded their zone data but it's 1.3MB worth of CSV data. Not really something I can put into a script or want to parse on every request. I'll have to look and see if there's a simpler version
Re: Fedex shipping zone api?
Posted: Tue May 12, 2009 4:32 pm
by Christopher
I think I put what I needed in a database table and looked it up -- which is as fast as getting it via a web service.
Re: Fedex shipping zone api?
Posted: Tue May 12, 2009 4:33 pm
by Benjamin
It's probably designed to be inserted into your database.
Re: Fedex shipping zone api?
Posted: Tue May 12, 2009 8:12 pm
by allspiritseve
astions wrote:It's probably designed to be inserted into your database.
Doubtful... it's split up into hundreds of files and each one has text as well as CSV data, so I don't think it'll import. It seems like, as arborint mentioned, there should be a simple list of ranges that equate to a certain zone. The list they currently live I think gives every single 3 number combination that matches the first 3 numbers of every zip code in the US.