lastfm_client/api/constants.rs
1/// Base URL for the Last.fm API
2pub const BASE_URL: &str = "https://ws.audioscrobbler.com/2.0/";
3
4/// Maximum number of tracks that can be fetched in a single API request
5pub const API_MAX_LIMIT: u32 = 1000;
6
7/// Multiplier for chunking large requests
8pub const CHUNK_MULTIPLIER: u32 = 5;
9
10/// Size of each chunk for pagination
11pub const CHUNK_SIZE: u32 = API_MAX_LIMIT * CHUNK_MULTIPLIER;