Fedex shipping zone api?
Moderator: General Moderators
- allspiritseve
- DevNet Resident
- Posts: 1174
- Joined: Thu Mar 06, 2008 8:23 am
- Location: Ann Arbor, MI (USA)
Fedex shipping zone api?
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.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Fedex shipping zone api?
I recall that I downloaded their zone data and used it. It think only a few digits are significant.
(#10850)
- allspiritseve
- DevNet Resident
- Posts: 1174
- Joined: Thu Mar 06, 2008 8:23 am
- Location: Ann Arbor, MI (USA)
Re: Fedex shipping zone api?
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
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Fedex shipping zone api?
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.
(#10850)
Re: Fedex shipping zone api?
It's probably designed to be inserted into your database.
- allspiritseve
- DevNet Resident
- Posts: 1174
- Joined: Thu Mar 06, 2008 8:23 am
- Location: Ann Arbor, MI (USA)
Re: Fedex shipping zone api?
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.astions wrote:It's probably designed to be inserted into your database.