Safe Haskell | None |
---|---|
Language | Haskell2010 |
Lastfm library API
This module is intended to be imported qualified:
import qualified Network.Lastfm.Library as Library
- addAlbum :: NonEmpty (Request f LibraryAlbum) -> Request f (APIKey -> SessionKey -> Sign)
- albumItem :: Request f (Artist -> Album -> LibraryAlbum)
- addArtist :: NonEmpty (Request f LibraryArtist) -> Request f (APIKey -> SessionKey -> Sign)
- artistItem :: Request f (Artist -> LibraryArtist)
- addTrack :: Request f (Artist -> Track -> APIKey -> SessionKey -> Sign)
- getAlbums :: Request f (User -> APIKey -> Ready)
- getArtists :: Request f (User -> APIKey -> Ready)
- getTracks :: Request f (User -> APIKey -> Ready)
- removeAlbum :: Request f (Artist -> Album -> APIKey -> SessionKey -> Sign)
- removeArtist :: Request f (Artist -> APIKey -> SessionKey -> Sign)
- removeScrobble :: Request f (Artist -> Track -> Timestamp -> APIKey -> SessionKey -> Sign)
- removeTrack :: Request f (Artist -> Track -> APIKey -> SessionKey -> Sign)
Documentation
addAlbum :: NonEmpty (Request f LibraryAlbum) -> Request f (APIKey -> SessionKey -> Sign) Source
Add an album or collection of albums to a user's Last.fm library
addArtist :: NonEmpty (Request f LibraryArtist) -> Request f (APIKey -> SessionKey -> Sign) Source
Add an artist to a user's Last.fm library
artistItem :: Request f (Artist -> LibraryArtist) Source
What album to add to library?
addTrack :: Request f (Artist -> Track -> APIKey -> SessionKey -> Sign) Source
Add a track to a user's Last.fm library
getAlbums :: Request f (User -> APIKey -> Ready) Source
A paginated list of all the albums in a user's library, with play counts and tag counts.
getArtists :: Request f (User -> APIKey -> Ready) Source
A paginated list of all the artists in a user's library, with play counts and tag counts.
removeAlbum :: Request f (Artist -> Album -> APIKey -> SessionKey -> Sign) Source
Remove an album from a user's Last.fm library
removeArtist :: Request f (Artist -> APIKey -> SessionKey -> Sign) Source
Remove an artist from a user's Last.fm library
removeScrobble :: Request f (Artist -> Track -> Timestamp -> APIKey -> SessionKey -> Sign) Source
Remove a scrobble from a user's Last.fm library
removeTrack :: Request f (Artist -> Track -> APIKey -> SessionKey -> Sign) Source
Remove a track from a user's Last.fm library