{-# LANGUAGE TemplateHaskell #-} -- | Album API module {-# OPTIONS_HADDOCK prune #-} module Network.Lastfm.JSON.Album ( addTags, getBuyLinks, getInfo, getShouts, getTags , getTopTags, removeTag, search, share ) where import Network.Lastfm import qualified Network.Lastfm.API.Album as API $(json ["addTags", "getBuyLinks", "getInfo", "getShouts", "getTags", "getTopTags", "removeTag", "search", "share"]) -- | Tag an album using a list of user supplied tags. -- -- More: addTags ∷ (Artist, Album) → [Tag] → APIKey → SessionKey → Secret → Lastfm Response -- | 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 param. -- -- More: getBuyLinks ∷ Either (Artist, Album) Mbid → Maybe Autocorrect → Country → APIKey → Lastfm Response -- | 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. -- -- More: getInfo ∷ Either (Artist, Album) Mbid → Maybe Autocorrect → Maybe Language → Maybe Username → APIKey → Lastfm Response -- | Get shouts for this album. -- -- More: getShouts ∷ Either (Artist, Album) Mbid → Maybe Autocorrect → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get the tags applied by an individual user to an album on Last.fm. -- -- More: getTags ∷ Either (Artist, Album) Mbid → Maybe Autocorrect → Either User (SessionKey, Secret) → APIKey → Lastfm Response -- | Get the top tags for an album on Last.fm, ordered by popularity. -- -- More: getTopTags ∷ Either (Artist, Album) Mbid → Maybe Autocorrect → APIKey → Lastfm Response -- | Remove a user's tag from an album. -- -- More: removeTag ∷ Artist → Album → Tag → APIKey → SessionKey → Secret → Lastfm Response -- | Search for an album by name. Returns album matches sorted by relevance. -- -- More: search ∷ Album → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Share an album with one or more Last.fm users or other friends. -- -- More: share ∷ Artist → Album → Recipient → Maybe Message → Maybe Public → APIKey → SessionKey → Secret → Lastfm Response