#lastfm #api #api-bindings #api-key

bin+lib rustfm-scraper

Scrapes listening history from Last.fm and stores it in a file

3 unstable releases

0.2.23 Apr 19, 2021
0.2.0 Dec 5, 2020
0.1.0 Sep 22, 2020

#233 in Multimedia

32 downloads per month

MIT license

40KB
988 lines

rustfm-scraper

Latest Version Rust

rustfm-scaper is a command-line application that will download your listening history from Last.fm and store it locally on your computer.

Install

Install via cargo:

cargo install rustfm-scraper

lib.rs:

rustfm-scraper

Command line application that uses the Last.fm API (specifically the user.getRecentTracks endpoint) to download the listening history for a given user and saves the data locally to a file.

In order to run this application, you will need to generate your own API Key.

Example usage

To download the entire listening history of the LAST.HQ profile, use the fetch command. This will call the user.getRecentTracks endpoint using the default values for each parameter.

rustfm-scraper fetch LAST.HQ

Dependencies

~19–35MB
~594K SLoC