Sha256: 28f9c45410dc6f0889e0e6e1aa430ccbf23d00640e3493668e9fea04c3e5885f

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

#!/usr/bin/env ruby
# This is a simple command 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'

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

6 entries across 6 versions & 1 rubygems

Version Path
songkickr-0.5.4 test.rb
songkickr-0.5.3 test.rb
songkickr-0.5.2 test.rb
songkickr-0.5.0 test.rb
songkickr-0.4.1 test.rb
songkickr-0.4.0 test.rb