Sha256: beca72ec575a9b4a9da7e0ebc8b62d2bb85bb85a40b05eefdbea1a34e2348e0c
Contents?: true
Size: 654 Bytes
Versions: 4
Compression:
Stored size: 654 Bytes
Contents
#!/usr/bin/env ruby # This is a simple comand line test to make sure everything is working $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'songkickr' require 'httparty' remote = Songkickr::Remote.new 'hFYxiInE4DBpH5KL' @results = remote.artist_search(:artist_name => "Muse", :per_page=>'10' ).results @results.each do |result| print result.display_name + "\n" end print "\n" @gigography_results = remote.gigography(@results[0].id, :per_page=>'50', :page=>'1', :min_date=>'2010-01-01').results @gigography_results.each do |gig| print gig.display_name + "\n" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
songkickr-0.1.4 | test.rb |
songkickr-0.1.3 | test.rb |
songkickr-0.1.2 | test.rb |
songkickr-0.1.1 | test.rb |