Ruby wrapper for the YellowPages' YellowAPI.
$ gem install yellow_api
# Production
@client = YellowApi.new(:apikey => "yourapikeygoeshere")
# Sandbox
@client = YellowApi.new(:apikey => "sandboxapikey", :sandbox_enabled => true)
@client.find_business("barber", "Ottawa")
@client.find_business("barber", "Ottawa", { :pgLen => 10 }) # Limit to 10 listings
my_barber = @client.find_business("barber", "Ottawa").listings.first
@client.get_business_details(my_barber.address.prov, my_barber.name, my_barber.id)
@client.find_dealer(6418182, { :pgLen => 10 })
@client.get_type_ahead("auto", :what)
@client.get_type_ahead("monct", :where)
API style was largely inspired by sferik's twitter.
See LICENSE for more details.