NAME
laststats - A script to fetch and display Last.fm statistics
SYNOPSIS
laststats [options]
DESCRIPTION
This script fetches and displays Last.fm statistics for a given user. It allows you to specify the time period, format, and number of artists to display.
OPTIONS
- --user
-
Last.fm username (defaults to "davorg")
- --count
-
The number of artists to display (defaults to 10)
- --format
-
The format to display results in. Can be "text", "html" or "json" (defaults to "text")
- --period
-
The time period for the stats. Can be "overall", "7day", "1month", "3month", "6month", "12month" (defaults to "7day")
- --api-key --api-secret
-
The authorisation details you need in order to use the Last.fm API. These can either be passed as arguments to the constructor or, if omitted, they are read from environment variables called
LASTFM_API_KEY
andLASTFM_API_SECRET
.
AUTHOR
Dave Cross <dave@perlhacks.com>
LICENSE
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.