Safe Haskell | None |
---|---|
Language | Haskell2010 |
Lastfm artist API
This module is intended to be imported qualified:
import qualified Network.Lastfm.Artist as Artist
- class ArtistOrMBID r a
- addTags :: Request f (Artist -> [Tag] -> APIKey -> SessionKey -> Sign)
- getCorrection :: Request f (Artist -> APIKey -> Ready)
- getEvents :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getInfo :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getPastEvents :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getPodcast :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getShouts :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getSimilar :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getTags :: ArtistOrMBID r a => Request f (a -> APIKey -> r)
- getTopAlbums :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getTopFans :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getTopTags :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- getTopTracks :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready)
- removeTag :: Request f (Artist -> Tag -> APIKey -> SessionKey -> Sign)
- search :: Request f (Artist -> APIKey -> Ready)
- share :: Request f (Artist -> Recipient -> APIKey -> SessionKey -> Sign)
- shout :: Request f (Artist -> Message -> APIKey -> SessionKey -> Sign)
Documentation
class ArtistOrMBID r a Source
addTags :: Request f (Artist -> [Tag] -> APIKey -> SessionKey -> Sign) Source
Tag an artist with one or more user supplied tags.
getCorrection :: Request f (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 Ready a => Request f (a -> 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 Ready a => Request f (a -> APIKey -> Ready) Source
Get the metadata for an artist. Includes biography.
Optional: language
, autocorrect
, username
getPastEvents :: ArtistOrMBID Ready a => Request f (a -> 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 Ready a => Request f (a -> APIKey -> Ready) Source
Get a podcast of free mp3s based on an artist
Optional: autocorrect
getShouts :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready) Source
Get shouts for this artist. Also available as an rss feed.
Optional:autocorrect
, limit
, page
getSimilar :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready) Source
Get all the artists similar to this artist
Optional: limit
, autocorrect
getTags :: ArtistOrMBID r a => Request f (a -> APIKey -> r) 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 Ready a => Request f (a -> APIKey -> Ready) Source
Get the top albums for an artist on Last.fm, ordered by popularity.
Optional: autocorrect
, page
, limit
getTopFans :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready) Source
Get the top fans for an artist on Last.fm, based on listening data.
Optional: autocorrect
getTopTags :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready) Source
Get the top tags for an artist on Last.fm, ordered by popularity.
Optional: autocorrect
getTopTracks :: ArtistOrMBID Ready a => Request f (a -> APIKey -> Ready) Source
Get the top tracks by an artist on Last.fm, ordered by popularity
Optional: autocorrect
, page
, limit
removeTag :: Request f (Artist -> Tag -> APIKey -> SessionKey -> Sign) Source
Remove a user's tag from an artist.
search :: Request f (Artist -> APIKey -> Ready) Source
Search for an artist by name. Returns artist matches sorted by relevance.
share :: Request f (Artist -> Recipient -> APIKey -> SessionKey -> Sign) Source
Share an artist with Last.fm users or other friends.