liblastfm-0.6.0: Lastfm API interface

Safe HaskellNone
LanguageHaskell2010

Lastfm.User

Description

Lastfm user API

This module is intended to be imported qualified:

import qualified Lastfm.User as User

Synopsis

Documentation

getArtistTracks :: Request f (User -> Artist -> APIKey -> Ready) Source

Get a list of tracks by a given artist scrobbled by this user , including scrobble time. Can be limited to specific timeranges, defaults to all time.

Optional: startTimestamp, page, endTimestamp

http://www.last.fm/api/show/user.getArtistTracks

getBannedTracks :: Request f (User -> APIKey -> Ready) Source

Returns the tracks banned by the user

Optional: limit, page

http://www.last.fm/api/show/user.getBannedTracks

getEvents :: Request f (User -> APIKey -> Ready) Source

Get a list of upcoming events that this user is attending. Easily integratable into calendars, using the ical standard (see 'more formats' section below).

Optional: page, festivalsonly, limit

http://www.last.fm/api/show/user.getEvents

getFriends :: Request f (User -> APIKey -> Ready) Source

Get a list of the user's friends on Last.fm.

Optional: recenttracks, limit, page

http://www.last.fm/api/show/user.getFriends

getInfo :: Request f (User -> APIKey -> Ready) Source

Get information about a user profile.

http://www.last.fm/api/show/user.getInfo

getLovedTracks :: Request f (User -> APIKey -> Ready) Source

Get the last 50 tracks loved by a user.

Optional: limit, page

http://www.last.fm/api/show/user.getLovedTracks

getNeighbours :: Request f (User -> APIKey -> Ready) Source

Get a list of a user's neighbours on Last.fm.

Optional: limit

http://www.last.fm/api/show/user.getNeighbours

getNewReleases :: Request f (User -> APIKey -> Ready) Source

Gets a list of forthcoming releases based on a user's musical taste.

Optional: userecs

http://www.last.fm/api/show/user.getNewReleases

getPastEvents :: Request f (User -> APIKey -> Ready) Source

Get a paginated list of all events a user has attended in the past.

Optional: page, limit

http://www.last.fm/api/show/user.getPastEvents

getPersonalTags :: Request f (User -> Tag -> TaggingType -> APIKey -> Ready) Source

Get the user's personal tags

Optional: taggingtype, limit, page

http://www.last.fm/api/show/user.getPersonalTags

getPlaylists :: Request f (User -> APIKey -> Ready) Source

Get a list of a user's playlists on Last.fm.

http://www.last.fm/api/show/user.getPlaylists

getRecentStations :: Request f (User -> APIKey -> SessionKey -> Sign) Source

Get a list of the recent Stations listened to by this user.

Optional: limit, page

http://www.last.fm/api/show/user.getRecentStations

getRecentTracks :: Request f (User -> APIKey -> Ready) Source

Get a list of the recent tracks listened to by this user. Also includes the currently playing track with the nowplaying="true" attribute if the user is currently listening.

Optional: limit, page, from, extended, to

http://www.last.fm/api/show/user.getRecentTracks

getRecommendedEvents :: Request f (APIKey -> SessionKey -> Sign) Source

Get a paginated list of all events recommended to a user by Last.fm, based on their listening profile.

Optional: limit, page, latitude, longitude, festivalsonly, country

http://www.last.fm/api/show/user.getRecommendedEvents

getShouts :: Request f (User -> APIKey -> Ready) Source

Get shouts for this user. Also available as an rss feed.

Optional: page, limit

http://www.last.fm/api/show/user.getShouts

getTopAlbums :: Request f (User -> APIKey -> Ready) Source

Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default.

Optional: period, limit, page

http://www.last.fm/api/show/user.getTopAlbums

getTopArtists :: Request f (User -> APIKey -> Ready) Source

Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default.

Optional: period, limit, page

http://www.last.fm/api/show/user.getTopArtists

getTopTags :: Request f (User -> APIKey -> Ready) Source

Get the top tags used by this user.

Optional: limit

http://www.last.fm/api/show/user.getTopTags

getTopTracks :: Request f (User -> APIKey -> Ready) Source

Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default.

Optional: period, limit, page

http://www.last.fm/api/show/user.getTopTracks

getWeeklyAlbumChart :: Request f (User -> APIKey -> Ready) Source

Get an album chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent album chart for this user.

Optional: from, to

http://www.last.fm/api/show/user.getWeeklyAlbumChart

getWeeklyArtistChart :: Request f (User -> APIKey -> Ready) Source

Get an artist chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent artist chart for this user.

Optional: from, to

http://www.last.fm/api/show/user.getWeeklyArtistChart

getWeeklyChartList :: Request f (User -> APIKey -> Ready) Source

Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services.

http://www.last.fm/api/show/user.getWeeklyChartList

getWeeklyTrackChart :: Request f (User -> APIKey -> Ready) Source

Get a track chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent track chart for this user.

Optional: from, to

http://www.last.fm/api/show/user.getWeeklyTrackChart