I want to script the process of doing a reverse lookup from an address to obtain a phone number. I can do a reverse lookup by using http://www.reversephonedirectory.com Knowing that the sight is accessing the database how can i determine what database is being used and is there a way to make this work? I know applescript can use interact with a lot of different databases and industry standard languages.
Private databases like these are available to you only via the web server that displays the data in a browser page.
Public databases are typically exposed via Soap/XML-RPC (See http://www.xmethods.net/ for some public services. See http://developer.apple.com/documentation/AppleScript/Conceptual/soapXMLRPC/index.html for how to script them.
One workaround is web clipping where you capture a web page and parse out the bit you need. Do a search on this site for examples of curl.
This is a semi-advanced project.