Permalink
Browse files

add whitepages support. you will need an api key for this.

  • Loading branch information...
1 parent 28f4d7e commit ef685688d649a7514ebd27722366b2918d966573 @spullara spullara committed Feb 10, 2009
Showing with 151 additions and 0 deletions.
  1. +2 −0 alltables.env
  2. +67 −0 whitepages/whitepages.reverse.xml
  3. +82 −0 whitepages/whitepages.search.xml
View
2 alltables.env
@@ -25,3 +25,5 @@ use 'http://www.javarants.com/dopplr/dopplr.traveller.travelling.xml' as dopplr.
use 'http://www.javarants.com/dopplr/dopplr.trips.info.xml' as dopplr.trips.info;
use 'http://www.javarants.com/twitter/twitter.user.timeline.xml' as twitter.user.timeline;
use 'http://www.javarants.com/wesabe/wesabe.tags.xml' as wesabe.tags;
+use 'http://www.javarants.com/whitepages/whitepages.search.xml' as whitepages.search;
+use 'http://www.javarants.com/whitepages/whitepages.reverse.xml' as whitepages.reverse;
View
67 whitepages/whitepages.reverse.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Sam Pullara</author>
+ <documentationURL>http://developer.whitepages.com/docs</documentationURL>
+ </meta>
+ <bindings>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/reverse_phone/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="phone" type="xs:string" paramType="query" required="true"/>
+ <key id="state" type="xs:string" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/reverse_address/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="street" type="xs:string" paramType="query" required="true"/>
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="apt" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+
+ <key id="state" type="xs:string" paramType="query" required="true"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/reverse_address/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="street" type="xs:string" paramType="query" required="true"/>
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="apt" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query" required="true"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/reverse_address/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="street" type="xs:string" paramType="query" required="true"/>
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="apt" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query" required="true"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
82 whitepages/whitepages.search.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Sam Pullara</author>
+ <documentationURL>http://developer.whitepages.com/docs</documentationURL>
+ </meta>
+ <bindings>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/find_person/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="lastname" type="xs:string" paramType="query" required="true"/>
+ <key id="name" type="xs:string" paramType="query"/>
+
+ <key id="firstname" type="xs:string" paramType="query"/>
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="street" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ <key id="metro" type="xs:number" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/find_person/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="name" type="xs:string" paramType="query" required="true"/>
+
+ <key id="firstname" type="xs:string" paramType="query"/>
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="street" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ <key id="metro" type="xs:number" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/find_business/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="businessname" type="xs:string" paramType="query" required="true"/>
+ <key id="category" type="xs:string" paramType="query"/>
+
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="street" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ <key id="metro" type="xs:number" paramType="query"/>
+ </inputs>
+ </select>
+ <select produces="XML" itemPath="">
+ <urls>
+ <url>http://api.whitepages.com/find_business/1.0/</url>
+ </urls>
+ <inputs>
+ <key id="api_key" type="xs:string" paramType="query" required="true"/>
+ <key id="category" type="xs:string" paramType="query" required="true"/>
+ <key id="businessname" type="xs:string" paramType="query"/>
+
+ <key id="house" type="xs:string" paramType="query"/>
+ <key id="street" type="xs:string" paramType="query"/>
+ <key id="city" type="xs:string" paramType="query"/>
+ <key id="state" type="xs:string" paramType="query"/>
+ <key id="zip" type="xs:string" paramType="query"/>
+ <key id="areacode" type="xs:string" paramType="query"/>
+ <key id="metro" type="xs:number" paramType="query"/>
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit ef68568

Please sign in to comment.