DISCLAIMER: This gem was created as part of our hack at Bangalore::Hack 2013 and therefore, is not production ready yet and we may or may not maintain it in future. So, use at your own risk.
Ruby Client for JustDial API
Add this line to your application's Gemfile:
gem 'justdial-ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install justdial-ruby
require 'justdial'
client = JustDial::Client.new('http://hack2013.justdial.com/index.php', {event_token: 'event-token', token: 'request-token'})
client.search(query: 'plumber', city: 'bangalore')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request