jrmehle / songkickr Goto Github PK
View Code? Open in Web Editor NEWA Ruby wrapper around the Songkick API
Home Page: songkick.com
License: MIT License
A Ruby wrapper around the Songkick API
Home Page: songkick.com
License: MIT License
Could you provide an example of how to provide the additional query parameters to methods like gigography? I am doing this:
past_events = remote.gigography artist_answer.results.first.id, :query => { :min_date => params[:min_date], :max_date => params[:max_date] }
Either I'm not doing something right or it's broken.
Researching why running rake
is broken on my machine, I found that songkickr gem (installed from Gemfile of another person's project) includes binstubs for development dependencies such as rake
, rspec
and other. The presence of these (and their inclusion in the executables
section of songkickr's gemspec) makes RubyGems override the actual rake
, rspec
, ri
et al on my system.
After you push an update, please yank previous versions of songkickr gem from RubyGems.org so other people don't have to waste time as I did.
I get an error when running the artist search
artists = Songkickr::Remote.new(ENV['SONGKICK_API']).artist_search(:artist_name => "Kanye West")
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.include?
Am I correct in thinking there's currently no support for "a list of calendar entries with events for a user’s tracked artists in her tracked metro areas", as described on this page? It would be something like:
/users/{username}/calendar.json?reason=tracked_artist&apikey={your_api_key}
It might be here somewhere already, but I can't seem to find it.
Could someone please give an example of searching for events using the location parameter?
For the performance object, the billing attribute always seems to return nil.
1.9.3p194 :005 > client = Songkickr::Remote.new(Settings.services.songkick.api_key)
=> #<Songkickr::Remote:0x007f8518b25d28 @api_key="edited">
1.9.3p194 :006 > client.events(query: 'Immortal')
APIError: This resource must be given a filter, such as 'artist_name' or 'location'.
from /Users/kain/.rvm/gems/ruby-1.9.3-p194/gems/songkickr-0.3.1/lib/songkickr/remote.rb:211:in `get'
from /Users/kain/.rvm/gems/ruby-1.9.3-p194/gems/songkickr-0.3.1/lib/songkickr/remote.rb:39:in `events'
...
Am I missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.