Rockstar - a last.fm api v2.0 gem

A few weeks ago I added the possibilty to scrobble your viewed music videos to putpat.

Sadly I couldn’t find a gem that could do that. John Nunemakers scrobbler gem is very outdated and does not use the new authentification api. After searching through all available forks I made the decision to create my own fork of the old scrobbler gem. That fork is called rockstar.

I tried to made it compatible with the old scrobbler gem and added a few new features. For example now it’s possible to get a list of events for a certain location:

geo = Rockstar::Geo.new

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

If you are missing a certain api call just write me, I will add that asap.

Portrait photo of Bodo Tasche
Bodo Tasche
Polyglot Developer

I am a freelance polyglot developer and love HTML5, testing, JavaScript, Ruby and Elixir. In the last 20 years I have been in lots of different roles, from Java to Elixir, from backend developer at a 3 people team in an early phase startup to the CTO of a web agency. Some of my work can be seen on my projects page.

Need help developing your MVP or to add new features into your current app? Need a CTO or a front/backend developer for hire? Send me an email.