rustfm_scraper/
lib.rs

1#![doc(html_root_url = "https://docs.rs/rustfm-scraper/0.1.0")]
2//! # rustfm-scraper
3//!
4//! Command line application that uses the Last.fm API (specifically the
5//! [`user.getRecentTracks`](https://www.last.fm/api/show/user.getRecentTracks) endpoint)
6//! to download the listening history for a given user and saves the data locally to a file.
7//!
8//! In order to run this application, you will need to generate your own [API Key](https://www.last.fm/api).
9//!
10//! # Example usage
11//!
12//! To download the entire listening history of the [LAST.HQ](https://www.last.fm/user/LAST.HQ) profile,
13//! use the `fetch` command. This will call the `user.getRecentTracks` endpoint using the default values
14//! for each parameter.
15//!
16//! ```shell
17//! rustfm-scraper fetch LAST.HQ
18//! ```
19//!
20
21pub mod app;
22pub mod config;
23pub mod files;
24pub mod lastfm;
25pub mod models;
26pub mod stats;
27pub mod utils;