Skip to content

hyfen/lastfm-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

lastfm-importer

Quick and dirty script to retrieve all your listening history from last.fm.

Before running, you'll need to get an api key.

Usage

history = LastfmImporter.new username: 'hyfen', api_key: 'XXXXXX'
history.load_all
puts history.listens

After running load_all, all history will be available in an array listens which is a hash with the following keys:

  • name
  • lastfm_mbid
  • lastfm_url
  • lastfm_image_url_extralarge
  • artist_name
  • artist_lastfm_mbid
  • listened_at

Potential Uses

alt text

About

Simple last.fm history importer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages