Sha256: 0e870d93aec370b50a6de7a8d84b3457e11c937110a9843cc02bec92104e2bc4

Contents?: true

Size: 385 Bytes

Versions: 13

Compression:

Stored size: 385 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'rockstar'))

# Please enter your API-Keys into lastfm.yml first. 
# You can find them here : http://www.lastfm.de/api/account
Rockstar.lastfm = YAML.load_file(File.join(File.dirname(__FILE__), 'lastfm.yml'))

geo = Rockstar::Geo.new

geo.events(:location => 'london').each{|e| p "#{e.title} at #{e.venue.name}"}

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
rockstar-0.7.0 examples/geo.rb
rockstar-0.6.4 examples/geo.rb
rockstar-0.6.3 examples/geo.rb
rockstar-0.6.2 examples/geo.rb
rockstar-custom-0.6.1 examples/geo.rb
rockstar-0.6.1 examples/geo.rb
rockstar-0.6.0 examples/geo.rb
rockstar-0.5.2 examples/geo.rb
rockstar-0.5.1 examples/geo.rb
rockstar-0.5.0 examples/geo.rb
rockstar-0.4.2 examples/geo.rb
rockstar-0.4.1 examples/geo.rb
rockstar-0.4.0 examples/geo.rb