liblastfm-0.0.1.0: Wrapper to Lastfm API

Safe HaskellNone

Network.Lastfm.API.Artist

Description

Artist API module

Synopsis

Documentation

addTags :: Artist -> [Tag] -> APIKey -> SessionKey -> Lastfm ()Source

Tag an album using a list of user supplied tags.

More: http://www.lastfm.ru/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.lastfm.ru/api/show/artist.getCorrection

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

Get the metadata for an artist. Includes biography.

More: http://www.lastfm.ru/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.lastfm.ru/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.lastfm.ru/api/show/artist.getShouts

getTags :: Either Artist Mbid -> Maybe Autocorrect -> Either User SessionKey -> 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.lastfm.ru/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.lastfm.ru/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.lastfm.ru/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.lastfm.ru/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.lastfm.ru/api/show/artist.getTopTracks

removeTag :: Artist -> Tag -> APIKey -> SessionKey -> Lastfm ()Source

Remove a user's tag from an artist.

More: http://www.lastfm.ru/api/show/artist.removeTag

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

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

More: http://www.lastfm.ru/api/show/artist.search

share :: Artist -> [Recipient] -> Maybe Message -> Maybe Public -> APIKey -> SessionKey -> Lastfm ()Source

Share an artist with Last.fm users or other friends.

More: http://www.lastfm.ru/api/show/artist.share

shout :: Artist -> Message -> APIKey -> SessionKey -> Lastfm ()Source

Shout in this artist's shoutbox.

More: http://www.lastfm.ru/api/show/artist.shout