This is a ruby client library for viagogo api
Add this line to your application's Gemfile:
gem 'viagogo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install viagogo
Create a viagogo ruby client by providing consumer_key and consumer_secret
client = Viagogo::Client.new('you consumer key', 'your consumer secret')
Search for events by free text
client.search_events('free text here')
To get venue info
client.get_venue_by_id(venue_id)
Work with Rails3
Viagogo.setup do |config|
config[:consumer_key] = 'you consumer key'
config[:consumer_secret] = ''your consumer secret''
end
client = Viagogo::Client.new
search events by free text
get venue info
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request