Safe Haskell | None |
---|
Track API module
- addTags :: Artist -> Track -> [Tag] -> APIKey -> SessionKey -> Secret -> Lastfm Response
- ban :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm Response
- getBuyLinks :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Country -> APIKey -> Lastfm Response
- getCorrection :: Artist -> Track -> APIKey -> Lastfm Response
- getFingerprintMetadata :: Fingerprint -> APIKey -> Lastfm Response
- getInfo :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Username -> APIKey -> Lastfm Response
- getShouts :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm Response
- getSimilar :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Limit -> APIKey -> Lastfm Response
- getTags :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Either User (SessionKey, Secret) -> APIKey -> Lastfm Response
- getTopFans :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> APIKey -> Lastfm Response
- getTopTags :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> APIKey -> Lastfm Response
- love :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm Response
- removeTag :: Artist -> Track -> Tag -> APIKey -> SessionKey -> Secret -> Lastfm Response
- scrobble :: (Timestamp, Maybe Album, Artist, Track, Maybe AlbumArtist, Maybe Duration, Maybe StreamId, Maybe ChosenByUser, Maybe Context, Maybe TrackNumber, Maybe Mbid) -> APIKey -> SessionKey -> Secret -> Lastfm Response
- search :: Track -> Maybe Page -> Maybe Limit -> Maybe Artist -> APIKey -> Lastfm Response
- share :: Artist -> Track -> Recipient -> Maybe Message -> Maybe Public -> APIKey -> SessionKey -> Secret -> Lastfm Response
- unban :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm Response
- unlove :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm Response
- updateNowPlaying :: Artist -> Track -> Maybe Album -> Maybe AlbumArtist -> Maybe Context -> Maybe TrackNumber -> Maybe Mbid -> Maybe Duration -> APIKey -> SessionKey -> Secret -> Lastfm Response
Documentation
addTags :: Artist -> Track -> [Tag] -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Tag a track using a list of user supplied tags. More: http://www.last.fm/api/show/track.addTags
ban :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Ban a track for a given user profile. More: http://www.last.fm/api/show/track.ban
getBuyLinks :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Country -> APIKey -> Lastfm ResponseSource
Get a list of Buy Links for a particular track. More: http://www.last.fm/api/show/track.getBuylinks
getCorrection :: Artist -> Track -> APIKey -> Lastfm ResponseSource
Use the last.fm corrections data to check whether the supplied track has a correction to a canonical track. More: http://www.last.fm/api/show/track.getCorrection
getFingerprintMetadata :: Fingerprint -> APIKey -> Lastfm ResponseSource
Retrieve track metadata associated with a fingerprint id generated by the Last.fm Fingerprinter. Returns track elements, along with a rank
value between 0 and 1 reflecting the confidence for each match. More: http://www.last.fm/api/show/track.getFingerprintMetadata
getInfo :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Username -> APIKey -> Lastfm ResponseSource
Get the metadata for a track on Last.fm. More: http://www.last.fm/api/show/track.getInfo
getShouts :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Page -> Maybe Limit -> APIKey -> Lastfm ResponseSource
Get shouts for this track. Also available as an rss feed. More: http://www.last.fm/api/show/track.getShouts
getSimilar :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Maybe Limit -> APIKey -> Lastfm ResponseSource
Get the similar tracks for this track on Last.fm, based on listening data. More: http://www.last.fm/api/show/track.getSimilar
getTags :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> Either User (SessionKey, Secret) -> APIKey -> Lastfm ResponseSource
Get the tags applied by an individual user to a track on Last.fm. More: http://www.last.fm/api/show/track.getTags
getTopFans :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> APIKey -> Lastfm ResponseSource
Get the top fans for this track on Last.fm, based on listening data. More: http://www.last.fm/api/show/track.getTopFans
getTopTags :: Either (Artist, Track) Mbid -> Maybe Autocorrect -> APIKey -> Lastfm ResponseSource
Get the top tags for this track on Last.fm, ordered by tag count. More: http://www.last.fm/api/show/track.getTopTags
love :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Love a track for a user profile. More: http://www.last.fm/api/show/track.love
removeTag :: Artist -> Track -> Tag -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Remove a user's tag from a track. More: http://www.last.fm/api/show/track.removeTag
scrobble :: (Timestamp, Maybe Album, Artist, Track, Maybe AlbumArtist, Maybe Duration, Maybe StreamId, Maybe ChosenByUser, Maybe Context, Maybe TrackNumber, Maybe Mbid) -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Used to add a track-play to a user's profile. More: http://www.last.fm/api/show/track.scrobble
search :: Track -> Maybe Page -> Maybe Limit -> Maybe Artist -> APIKey -> Lastfm ResponseSource
Search for a track by track name. Returns track matches sorted by relevance. More: http://www.last.fm/api/show/track.search
share :: Artist -> Track -> Recipient -> Maybe Message -> Maybe Public -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Share a track twith one or more Last.fm users or other friends. More: http://www.last.fm/api/show/track.share
unban :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Unban a track for a user profile. More: http://www.last.fm/api/show/track.unban
unlove :: Artist -> Track -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Unlove a track for a user profile. More: http://www.last.fm/api/show/track.unlove
updateNowPlaying :: Artist -> Track -> Maybe Album -> Maybe AlbumArtist -> Maybe Context -> Maybe TrackNumber -> Maybe Mbid -> Maybe Duration -> APIKey -> SessionKey -> Secret -> Lastfm ResponseSource
Used to notify Last.fm that a user has started listening to a track. Parameter names are case sensitive. More: http://www.last.fm/api/show/track.updateNowPlaying