Add an album to a user's last.fm library.
static
void
addAlbum
(
string $artist,
string $album,
Session $session)
-
string
$artist: The artist that composed the album. (Required)
-
string
$album: The album name you wish to add. (Required)
-
Session
$session: A session obtained by getSession or getMobileSession. (Required)
Add an artist to a user's last.fm library.
static
void
addArtist
(
string $artist,
Session $session)
-
string
$artist: The artist name you wish to add. (Required)
-
Session
$session: A session obtained by getSession or getMobileSession. (Required)
Add a track to a user's last.fm library.
static
void
addTrack
(
string $artist,
string $track,
Session $session)
-
string
$artist: The artist that composed the track. (Required)
-
string
$track: The track name you wish to add. (Required)
-
Session
$session: A session obtained by getSession or getMobileSession. (Required)
A paginated list of all the albums in a user's library, with play counts and tag counts.
static
PaginatedResult
getAlbums
(
string $user, [
integer $limit =
null], [
integer $page =
null])
-
string
$user: The user whose library you want to fetch. (Required)
-
integer
$limit: Limit the amount of albums returned (maximum/default is 50). (Optional)
-
integer
$page: The page number you wish to scan to. (Optional)
A paginated list of all the artists in a user's library, with play counts and tag counts.
static
PaginatedResult
getArtists
(
string $user, [
integer $limit =
null], [
integer $page =
null])
-
string
$user: The user whose library you want to fetch. (Required)
-
integer
$limit: Limit the amount of artists returned (maximum/default is 50). (Optional)
-
integer
$page: The page number you wish to scan to. (Optional)
A paginated list of all the tracks in a user's library, with play counts and tag counts.
static
PaginatedResult
getTracks
(
string $user,
integer $limit,
integer $page)
-
string
$user: The user whose library you want to fetch. (Required)
-
integer
$limit: Limit the amount of tracks returned (maximum/default is 50). (Optional)
-
integer
$page: The page number you wish to scan to. (Optional)