Sha256: f6f725d1dfc6cac768c908efa72735a2d0c633061af3b671738fa6fce6a8e6f9

Contents?: true

Size: 635 Bytes

Versions: 3

Compression:

Stored size: 635 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

3 entries across 3 versions & 1 rubygems

Version Path
songkickr-0.2.2 test.rb
songkickr-0.2.1 test.rb
songkickr-0.2.0 test.rb