Safe Haskell | None |
---|
Lastfm artist API
This module is intended to be imported qualified:
import qualified Network.Lastfm.Artist as Artist
- class ArtistOrMBID a
- addTags :: Request f Sign (Artist -> [Tag] -> APIKey -> SessionKey -> Ready)
- getCorrection :: Request f Send (Artist -> APIKey -> Ready)
- getEvents :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getInfo :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getPastEvents :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getPodcast :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getShouts :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getSimilar :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getTags :: ArtistOrMBID t => Request f a (t -> APIKey -> Ready)
- getTopAlbums :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getTopFans :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getTopTags :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- getTopTracks :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)
- removeTag :: Request f Sign (Artist -> Tag -> APIKey -> SessionKey -> Ready)
- search :: Request f Send (Artist -> APIKey -> Ready)
- share :: Request f Sign (Artist -> Recipient -> APIKey -> SessionKey -> Ready)
- shout :: Request f Sign (Artist -> Message -> APIKey -> SessionKey -> Ready)
Documentation
addTags :: Request f Sign (Artist -> [Tag] -> APIKey -> SessionKey -> Ready)Source
Tag an artist with one or more user supplied tags.
getCorrection :: Request f Send (Artist -> APIKey -> Ready)Source
Use the last.fm corrections data to check whether the supplied artist has a correction to a canonical artist
getEvents :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get a list of upcoming events for this artist. Easily integratable into calendars, using the ical standard (see feeds section below).
Optional: autocorrect
, limit
, pages
, festivalsonly
getInfo :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get the metadata for an artist. Includes biography.
Optional: language
, autocorrect
, username
getPastEvents :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get a paginated list of all the events this artist has played at in the past.
Optional: page
, autocorrect
, limit
getPodcast :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get a podcast of free mp3s based on an artist
Optional: autocorrect
getShouts :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get shouts for this artist. Also available as an rss feed.
Optional:autocorrect
, limit
, page
getSimilar :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get all the artists similar to this artist
Optional: limit
, autocorrect
getTags :: ArtistOrMBID t => Request f a (t -> APIKey -> Ready)Source
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. To retrieve the list of top tags applied
to an artist by all users use getTopTags
.
Optional: user
, autocorrect
getTopAlbums :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get the top albums for an artist on Last.fm, ordered by popularity.
Optional: autocorrect
, page
, limit
getTopFans :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get the top fans for an artist on Last.fm, based on listening data.
Optional: autocorrect
getTopTags :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get the top tags for an artist on Last.fm, ordered by popularity.
Optional: autocorrect
getTopTracks :: ArtistOrMBID t => Request f Send (t -> APIKey -> Ready)Source
Get the top tracks by an artist on Last.fm, ordered by popularity
Optional: autocorrect
, page
, limit
removeTag :: Request f Sign (Artist -> Tag -> APIKey -> SessionKey -> Ready)Source
Remove a user's tag from an artist.
search :: Request f Send (Artist -> APIKey -> Ready)Source
Search for an artist by name. Returns artist matches sorted by relevance.
share :: Request f Sign (Artist -> Recipient -> APIKey -> SessionKey -> Ready)Source
Share an artist with Last.fm users or other friends.