liblastfm-0.1.1.1: Lastfm API interface

Safe HaskellNone

Network.Lastfm.Library

Description

Lastfm library API

This module is intended to be imported qualified:

 import qualified Network.Lastfm.Library as Library

Synopsis

Documentation

addAlbum :: Request f Sign (Artist -> Album -> APIKey -> SessionKey -> Ready)Source

Add an album or collection of albums to a user's Last.fm library

http://www.last.fm/api/show/library.addAlbum

getAlbums :: Request f Send (User -> APIKey -> Ready)Source

A paginated list of all the albums in a user's library, with play counts and tag counts.

Optional: artist, limit, page

http://www.last.fm/api/show/library.getAlbums

getArtists :: Request f Send (User -> APIKey -> Ready)Source

A paginated list of all the artists in a user's library, with play counts and tag counts.

Optional: limit, page

http://www.last.fm/api/show/library.getArtists

getTracks :: Request f Send (User -> APIKey -> Ready)Source

A paginated list of all the tracks in a user's library, with play counts and tag counts.

Optional: artist, album, page, limit

http://www.last.fm/api/show/library.getTracks

removeAlbum :: Request f Sign (Artist -> Album -> APIKey -> SessionKey -> Ready)Source

Remove an album from a user's Last.fm library

http://www.last.fm/api/show/library.removeAlbum

removeArtist :: Request f Sign (Artist -> APIKey -> SessionKey -> Ready)Source

Remove an artist from a user's Last.fm library

http://www.last.fm/api/show/library.removeArtist

removeTrack :: Request f Sign (Artist -> Track -> APIKey -> SessionKey -> Ready)Source

Remove a track from a user's Last.fm library

http://www.last.fm/api/show/library.removeTrack