Archive for 'Resources'

SOAP Zip Code Web Service!

Posted on 26. Jul, 2007 by Will Fitch.

22

I have completed the major functionality to the SOAP integration of the zip code services. The following methods can be used to get the data you need:

  1. getDistanceByZip – Get the distance from one zip code to another
  2. getZipsByRadius – Get GPS information within (X) miles of a zip code
  3. getLocalTime – Get the local time for a zip code

I am going to describe each function in depth, and give examples of each in a few languages. If you have suggestions to this service, feel free to contact me using the contact form.

About the Service

This web service is provided absolutely free. Please don’t abuse this. If requests start getting out of hand and bringing my server to its knees, I will start limiting the number of queries per user per day. I don’t want to do this, but I do like my server actually serving :) .

It is an RPC style web service, as it really isn’t complicated and is limited to a very specific audience. It’s also easier for developers to use and understand in comparison to document-literal.

(more…)

Continue Reading

GPS Zip Code Radius Web Service

Posted on 23. Oct, 2006 by Will Fitch.

7


Update! Due to the demand for an easier interface, I have developed a SOAP service offering more functionality and requires less coding on your end. You may see the overview here: http://www.phpfever.com/soap-zip-code-web-service.html.

Ok….

So I’ve created this script based off of the GPS info. It allows you to specify a zip code and radius (in mileage), and it will return the following values in XML:

  1. stateName
  2. city
  3. zipCode
  4. latitude
  5. longitude
  6. distance (from the specified zip code)
  7. timeZone

It is available via GET at the following URL:

http://www.phpfever.com/web-services/zip_radius.php

There are some GET variables you will have to specify, so read on with a tutorial using CURL.

(more…)

Continue Reading