0.0
No commit activity in last 3 years
No release in over 3 years
API Wrapper for last.fm
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 1.6.2
= 0.10.1
= 10.3.2
= 3.0.0
= 2.9.2
= 1.18.0

Runtime

= 0.9.0
= 1.10.1
 Project Readme

LastFm

Uses the Last.fm API to retrieve information for Artists and Albums

Usage

Add gem 'radavis_last_fm' to your Gemfile, or gem install radavis_last_fm.

Set the lastfm_api_key environment variable.

require 'last_fm'
artist = LastFM::Artist.search('Nirvana').first
artist.name # 'Nirvana'
artist.image # 'http://userserve-ak.last.fm/serve/126s/416571.jpg'

album = LastRubyFm::Album.search('Purple')[1]
album.artist  # 'Stone Temple Pilots'
album.tracks # retrieves a list of LastRubyFm::Track objects for the given album

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request