liblastfm-0.6.0: Lastfm API interface

Safe HaskellNone
LanguageHaskell2010

Lastfm.Album

Description

Lastfm album API

This module is intended to be imported qualified:

import qualified Lastfm.Album as Album

Synopsis

Documentation

class ArtistAlbumOrMBID r a | a -> r Source

Unify (Artist -> Album -> …) and (MBID -> …)

addTags :: Request f (Artist -> Album -> [Tag] -> APIKey -> SessionKey -> Sign) Source

Tag an album using a list of user supplied tags.

http://www.last.fm/api/show/album.addTags

getBuyLinks :: ArtistAlbumOrMBID Ready a => Request f (Country -> a) Source

Get a list of Buy Links for a particular Album. It is required that you supply either the artist and track params or the mbid parameter.

Optional: autocorrect

http://www.last.fm/api/show/album.getBuylinks

getInfo :: ArtistAlbumOrMBID Ready a => Request f a Source

Get the metadata for an album on Last.fm using the album name or a musicbrainz id. See playlist.fetch on how to get the album playlist.

Optional: autocorrect, username, language

http://www.last.fm/api/show/album.getInfo

getTags :: ArtistAlbumOrMBID r a => Request f a Source

Get the tags applied by an individual user to an album on Last.fm.

Optional: autocorrect, user

http://www.last.fm/api/show/album.getTags

getTopTags :: ArtistAlbumOrMBID Ready a => Request f a Source

Get the top tags for an album on Last.fm, ordered by popularity.

Optional: autocorrect

http://www.last.fm/api/show/album.getTopTags

search :: Request f (Album -> APIKey -> Ready) Source

Search for an album by name. Returns album matches sorted by relevance.

Optional: limit, page

http://www.last.fm/api/show/album.search

share :: Request f (Album -> Artist -> Recipient -> APIKey -> SessionKey -> Sign) Source

Share an album with one or more Last.fm users or other friends.

Optional: public, message, recipient

http://www.last.fm/api/show/album.share