WhitePages Web Service

This provides a online programmatic interface to the Australian white pages. This is used by my WhitePageAu MIDlet.

Online

The web service lets you do online queries. The request is passed as a GET request with results returned as XML.

The service is available at http://benno.id.au/services/wp.cgi. The arguments are passed as a query string in the GET request.

n
The surname to lookup. This argument is mandatory.
i
The initial to lookup. This argument is optional.
s
The suburb to lookup. This argument is optional.

An example query:

http://benno.id.au/services/wp.cgi?n=Howard&i=J&s=NorthSydney

Caveats: Only does NSW capital cities right now. Only returns the first 5 results.

Download

If you want to query to white pages website directly then you can download wp.py. A this stage there isn't any documentation, but the library includes an example, and it should be fairly self explanatory.