Re: [rails-oceania] Business addresses

2010-12-07 Thread Gregory McIntyre
Thank you all for the feedback. I will take a crack at it. -- Gregory McIntyre -- 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 rails-ocea...@googlegroups.com. To unsubscribe from this group, send e

Re: [rails-oceania] Business addresses

2010-12-05 Thread Korny Sietsma
There is going to be a public White/Yellow API some time next year - in the meantime you can probably safely do as suggested, and migrate once there's an API. (In theory you could get blocked, but if you are just looking for individual businesses, not scraping, I doubt anyone would notice / care)

Re: [rails-oceania] Business addresses

2010-12-05 Thread Bodaniel Jeanes
Depends on what you want, but that will return the address the business is registered at, not necessarily the address that customers might visit or post to when conducting business. Especially if a business has multiple locations. Sent from my iPhone On 05/12/2010, at 7:55 PM, Dmytrii Nagirniak

Re: [rails-oceania] Business addresses

2010-12-05 Thread Dmytrii Nagirniak
Hi Gregory, You can use http://www.abn.business.gov.au/abrxmlsearch/ That's the official government API. Regards, Dmytrii Nagirniak http://ApproachE.com On 5 December 2010 06:53, Gregory McIntyre wrote: > Anyone have any ideas on the best way to take business names and turn > them into addre

Re: [rails-oceania] Business addresses

2010-12-04 Thread Julio Cesar Ody
+1 to that. I did it for the now defunct whatsforsteaktoday. Upside it's entirely client side, and since Google just knows everything there is to know, it's almost impossible it won't return anything. On Sunday, December 5, 2010, Jason Crane wrote: > I wrote some code to take a business name, an

Re: [rails-oceania] Business addresses

2010-12-04 Thread Matthew Vickers
On 5/12/10 9:00 AM, Matthew Vickers wrote: 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. Sorry that should be mechanize not mechanic. Matt. -- You received this m

Re: [rails-oceania] Business addresses

2010-12-04 Thread Matthew Vickers
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 simp

Re: [rails-oceania] Business addresses

2010-12-04 Thread Jason Crane
I wrote some code to take a business name, and a postcode and do an address lookup via google ajax search. (had local db of postcodes/suburbs and lat/long co-ords to centre the search). I then present the users with a dropdown to select their address from a list (after wrangling the json). The

[rails-oceania] Business addresses

2010-12-04 Thread Gregory McIntyre
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? -- Gregory McIntyre -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to th