XMLRPC Services

Here are some XML RPC services provided here. They are broken down into a few groups. The geographical stuff may be accessed at the following URL: http://bleu.west.spy.net/geo/RPC2.

Service Parameter Type Parameter Values Returns
zipcodes.lookupZip int the numeric zipcode (i.e. 95051) A struct containing the following members:
  • zipcode (int)
  • state_code (string)
  • city (string)
  • county (string)
  • longitude (double)
  • latitude (double)
zipcodes.lookupZips struct Each parameter is optional, but when provided, limit the search space by requiring an exact match. The following values may exist in the struct: zipcode, state_code, state, city, and county An array of the structs from the above call.
geo.getPointInfo double, double latitude then longitude in the WGS-84 datum An array of structs representing the polygons containing that point. Each polygon data consists of the following data:
  • name - Name of the polygon
  • width - Width (in degrees) of the polygon
  • height - Height (in degrees) of the polygon
  • eastern_border - degrees
  • western_border - degrees
  • northern_border - degrees
  • southern_border - degrees
  • center_latitude - degrees
  • center_longitude - degrees
  • type - type of polygon (zipcode, county, state)