On 5/12/10 6:53 AM, Gregory McIntyre wrote:
Anyone have any ideas on the best way to take business names and turn
them into addresses of those businesses, via web API, scraping or any
other means?

Assuming the business name is Australian I would start with the White Pages. Using mechanic a simple get request, some xpath and or nokogiri should yield the
address you need.

For instance you can grab the New South Wales Bar Association's address from the following URL. http://www.whitepages.com.au/busSearch.do?subscriberName=NSW Bar Association&location=

They also use some sort of autocomplete at

http://www.whitepages.com.au/autosuggest/autoSuggest.x

Not sure how useful that would be.

Hope this helps.

Matt.

--
You received this message because you are subscribed to the Google Groups "Ruby or 
Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to