Safe Haskell | None |
---|---|
Language | Haskell2010 |
Lastfm album API
This module is intended to be imported qualified:
import qualified Network.Lastfm.Album as Album
- class ArtistAlbumOrMBID r a | a -> r
- addTags :: Request f (Artist -> Album -> [Tag] -> APIKey -> SessionKey -> Sign)
- getBuyLinks :: ArtistAlbumOrMBID Ready a => Request f (Country -> a)
- getInfo :: ArtistAlbumOrMBID Ready a => Request f a
- getShouts :: ArtistAlbumOrMBID Ready a => Request f a
- getTags :: ArtistAlbumOrMBID r a => Request f a
- getTopTags :: ArtistAlbumOrMBID Ready a => Request f a
- removeTag :: Request f (Artist -> Album -> Tag -> APIKey -> SessionKey -> Sign)
- search :: Request f (Album -> APIKey -> Ready)
- share :: Request f (Album -> Artist -> Recipient -> APIKey -> SessionKey -> Sign)
Documentation
class ArtistAlbumOrMBID r a | a -> r Source
ArtistAlbumOrMBID r (Artist -> Album -> APIKey -> r) | |
ArtistAlbumOrMBID r (MBID -> APIKey -> r) |
addTags :: Request f (Artist -> Album -> [Tag] -> APIKey -> SessionKey -> Sign) Source
Tag an album using a list of user supplied tags.
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
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
getShouts :: ArtistAlbumOrMBID Ready a => Request f a Source
Get shouts for this album.
Optional: autocorrect
, limit
, page
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
getTopTags :: ArtistAlbumOrMBID Ready a => Request f a Source
Get the top tags for an album on Last.fm, ordered by popularity.
Optional: autocorrect
removeTag :: Request f (Artist -> Album -> Tag -> APIKey -> SessionKey -> Sign) Source
Remove a user's tag from an album.