liblastfm-0.0.3.7: Wrapper to Lastfm API

Safe HaskellNone

Network.Lastfm.JSON.Library

Description

Library API module

Synopsis

Documentation

addAlbum :: Artist -> Album -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Add an album or collection of albums to a user's Last.fm library. More: http://www.last.fm/api/show/library.addAlbum

addArtist :: Artist -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Add an artist to a user's Last.fm library. More: http://www.last.fm/api/show/library.addArtist

addTrack :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Add a track to a user's Last.fm library. More: http://www.last.fm/api/show/library.addTrack

getAlbums :: User -> Maybe Artist -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

A paginated list of all the albums in a user's library, with play counts and tag counts. More: http://www.last.fm/api/show/library.getAlbums

getArtists :: User -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

A paginated list of all the artists in a user's library, with play counts and tag counts. More: http://www.last.fm/api/show/library.getArtists

getTracks :: User -> Maybe Artist -> Maybe Album -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

A paginated list of all the tracks in a user's library, with play counts and tag counts. More: http://www.last.fm/api/show/library.getTracks

removeAlbum :: Artist -> Album -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Remove an album from a user's Last.fm library. More: http://www.last.fm/api/show/library.removeAlbum

removeArtist :: Artist -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Remove an artist from a user's Last.fm library. More: http://www.last.fm/api/show/library.removeArtist

removeScrobble :: Artist -> Track -> Timestamp -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Remove a scrobble from a user's Last.fm library. More: http://www.last.fm/api/show/library.removeScrobble

removeTrack :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Remove a track from a user's Last.fm library. More: http://www.last.fm/api/show/library.removeTrack