0.0
No commit activity in last 3 years
No release in over 3 years
Uses the last.fm api to analyse your scrobbles library and extracts the artists out in order of number of scrobbles
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3.0
~> 2.0.0.beta.22

Runtime

~> 1.4
 Project Readme

Mostscrobbled¶ ↑

Extracts the artists from a last.fm user’s music library and turns them into nice ruby objects.

Usage¶ ↑

Before you start you’ll need:

Example:

require 'rubygems'
require 'mostscrobbled'

# The main method call returns an array of artists ordered by the number of scrobbles
artists = Mostscrobbled.find(:username => "foobar", :api_key => "123abc")

my_favourite_artist = artists.first

# Artists have a number of methods to easily access the attributes returned by the last.fm api
# For example...
my_favourite_artist.name         # => "Bibio"
my_favourite_artist.playcount    # => "391"
my_favourite_artist.url          # => "http://www.last.fm/music/Bibio"
my_favourite_artist.mbid         # => "9f9953f0-68bb-4ce3-aace-2f44c87f0aa3"
my_favourite_artist.image_small  # => "http://userserve-ak.last.fm/serve/34/39790231.jpg"

See the documentation for the full list of methods

Installation¶ ↑

gem install mostscrobbled