liblastfm-0.0.3.8: Wrapper to Lastfm API

Safe HaskellNone

Network.Lastfm.XML.Artist

Description

Artist API module

Synopsis

Documentation

addTags :: Artist -> [Tag] -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Tag an album using a list of user supplied tags. More: http://www.last.fm/api/show/artist.addTags

getCorrection :: Artist -> APIKey -> Lastfm ResponseSource

Use the last.fm corrections data to check whether the supplied artist has a correction to a canonical artist More: http://www.last.fm/api/show/artist.getCorrection

getInfo :: Either Artist Mbid -> Maybe Autocorrect -> Maybe Language -> Maybe Username -> APIKey -> Lastfm ResponseSource

Get the metadata for an artist. Includes biography. More: http://www.last.fm/api/show/artist.getInfo

getPastEvents :: Either Artist Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

Get a paginated list of all the events this artist has played at in the past. More: http://www.last.fm/api/show/artist.getPastEvents

getShouts :: Either Artist Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

Get shouts for this artist. Also available as an rss feed. More: http://www.last.fm/api/show/artist.getShouts

getTags :: Either Artist Mbid -> Maybe Autocorrect -> Either User (SessionKey, Secret) -> APIKey -> Lastfm ResponseSource

Get the tags applied by an individual user to an artist on Last.fm. If accessed as an authenticated service and you don't supply a user parameter then this service will return tags for the authenticated user. More: http://www.last.fm/api/show/artist.getTags

getTopAlbums :: Either Artist Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

Get the top albums for an artist on Last.fm, ordered by popularity. More: http://www.last.fm/api/show/artist.getTopAlbums

getTopFans :: Either Artist Mbid -> Maybe Autocorrect -> APIKey -> Lastfm ResponseSource

Get the top fans for an artist on Last.fm, based on listening data. More: http://www.last.fm/api/show/artist.getTopFans

getTopTags :: Either Artist Mbid -> Maybe Autocorrect -> APIKey -> Lastfm ResponseSource

Get the top tags for an artist on Last.fm, ordered by popularity. More: http://www.last.fm/api/show/artist.getTopTags

getTopTracks :: Either Artist Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

Get the top tracks by an artist on Last.fm, ordered by popularity. More: http://www.last.fm/api/show/artist.getTopTracks

search :: Artist -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource

Search for an artist by name. Returns artist matches sorted by relevance. More: http://www.last.fm/api/show/artist.search

share :: Artist -> Recipient -> Maybe Message -> Maybe Public -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource

Share an artist with Last.fm users or other friends. More: http://www.last.fm/api/show/artist.share