NAME

App::LastStats - A module to fetch and display Last.fm statistics

SYNOPSIS

use App::LastStats;

my $stats = App::LastStats->new(
  username => 'davorg',
  period   => '7day',
  format   => 'text',
  count    => 10,
);

$stats->run;

DESCRIPTION

App::LastStats is a module that 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.

METHODS

run

Fetches and displays the Last.fm statistics based on the provided options.

validate

Validates the provided options.

render_text

Renders the statistics in plain text format.

render_json

Renders the statistics in JSON format.

render_html

Renders the statistics in HTML format.

render

Renders the statistics using the specified format.

laststats

Fetches the Last.fm statistics for the specified user and time period.

AUTHOR

Dave Cross <dave@perlhacks.com>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.