-- | User API module{-# OPTIONS_HADDOCK prune #-}moduleNetwork.Lastfm.API.User(getArtistTracks,getBannedTracks,getEvents,getFriends,getInfo,getLovedTracks,getNeighbours,getNewReleases,getPastEvents,getPersonalTags,getPlaylists,getRecentStations,getRecentTracks,getRecommendedArtists,getRecommendedEvents,getShouts,getTopAlbums,getTopArtists,getTopTags,getTopTracks,getWeeklyAlbumChart,getWeeklyArtistChart,getWeeklyChartList,getWeeklyTrackChart,shout)whereimportControl.Monad.Error(runErrorT)importNetwork.Lastfm-- | 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.---- More: <http://www.lastfm.ru/api/show/user.getArtistTracks>getArtistTracks::User->Artist->MaybeStartTimestamp->MaybeEndTimestamp->MaybePage->APIKey->LastfmResponsegetArtistTracksuserartiststartTimestampendTimestamppageapiKey=callAPI[(#)(Method"user.getArtistTracks"),(#)user,(#)artist,(#)startTimestamp,(#)page,(#)endTimestamp,(#)apiKey]-- | Returns the tracks banned by the user.---- More: <http://www.lastfm.ru/api/show/user.getBannedTracks>getBannedTracks::User->MaybePage->MaybeLimit->APIKey->LastfmResponsegetBannedTracksuserpagelimitapiKey=callAPI[(#)(Method"user.getBannedTracks"),(#)user,(#)page,(#)limit,(#)apiKey]-- | Get a list of upcoming events that this user is attending.---- Mpre: <http://www.lastfm.ru/api/show/user.getEvents>getEvents::User->MaybePage->MaybeLimit->MaybeFestivalsOnly->APIKey->LastfmResponsegetEventsuserpagelimitfestivalsOnlyapiKey=callAPI[(#)(Method"user.getEvents"),(#)user,(#)page,(#)limit,(#)festivalsOnly,(#)apiKey]-- | Get a list of the user's friends on Last.fm.---- More: <http://www.lastfm.ru/api/show/user.getFriends>getFriends::User->MaybeRecentTracks->MaybePage->MaybeLimit->APIKey->LastfmResponsegetFriendsuserrecentTrackspagelimitapiKey=callAPI[(#)(Method"user.getFriends"),(#)user,(#)recentTracks,(#)page,(#)limit,(#)apiKey]-- | Get information about a user profile.---- More: <http://www.lastfm.ru/api/show/user.getInfo>getInfo::MaybeUser->APIKey->LastfmResponsegetInfouserapiKey=callAPI[(#)(Method"user.getInfo"),(#)user,(#)apiKey]-- | Get tracks loved by a user.---- More: <http://www.lastfm.ru/api/show/user.getLovedTracks>getLovedTracks::User->MaybePage->MaybeLimit->APIKey->LastfmResponsegetLovedTracksuserpagelimitapiKey=callAPI[(#)(Method"user.getLovedTracks"),(#)user,(#)page,(#)limit,(#)apiKey]-- | Get a list of a user's neighbours on Last.fm.---- More: <http://www.lastfm.ru/api/show/user.getNeighbours>getNeighbours::User->MaybeLimit->APIKey->LastfmResponsegetNeighboursuserlimitapiKey=callAPI[(#)(Method"user.getNeighbours"),(#)user,(#)limit,(#)apiKey]-- | Gets a list of forthcoming releases based on a user's musical taste.---- More: <http://www.lastfm.ru/api/show/user.getNewReleases>getNewReleases::User->MaybeUseRecs->APIKey->LastfmResponsegetNewReleasesuseruseRecsapiKey=callAPI[(#)(Method"user.getNewReleases"),(#)user,(#)useRecs,(#)apiKey]-- | Get a paginated list of all events a user has attended in the past.---- More: <http://www.lastfm.ru/api/show/user.getPastEvents>getPastEvents::User->MaybePage->MaybeLimit->APIKey->LastfmResponsegetPastEventsuserpagelimitapiKey=callAPI[(#)(Method"user.getPastEvents"),(#)user,(#)page,(#)limit,(#)apiKey]-- | Get the user's personal tags.---- More: <http://www.lastfm.ru/api/show/user.getPersonalTags>getPersonalTags::User->Tag->TaggingType->MaybePage->MaybeLimit->APIKey->LastfmResponsegetPersonalTagsusertagtaggingTypepagelimitapiKey=callAPI[(#)(Method"user.getPersonalTags"),(#)user,(#)tag,(#)taggingType,(#)page,(#)limit,(#)apiKey]-- | Get a list of a user's playlists on Last.fm.---- More: <http://www.lastfm.ru/api/show/user.getPlaylists>getPlaylists::User->APIKey->LastfmResponsegetPlaylistsuserapiKey=callAPI[(#)(Method"user.getPlaylists"),(#)user,(#)apiKey]-- | Get a list of the recent Stations listened to by this user.---- More: <http://www.lastfm.ru/api/show/user.getRecentStations>getRecentStations::User->MaybePage->MaybeLimit->APIKey->SessionKey->Secret->LastfmResponsegetRecentStationsuserpagelimitapiKeysessionKeysecret=callAPIsignedsecret[(#)(Method"user.getRecentStations"),(#)user,(#)page,(#)limit,(#)apiKey,(#)sessionKey]-- | 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.---- More: <http://www.lastfm.ru/api/show/user.getRecentTracks>getRecentTracks::User->MaybePage->MaybeLimit->MaybeFrom->MaybeTo->APIKey->LastfmResponsegetRecentTracksuserpagelimitfromtoapiKey=callAPI[(#)(Method"user.getRecentTracks"),(#)user,(#)page,(#)limit,(#)from,(#)to,(#)apiKey]-- | Get Last.fm artist recommendations for a user.---- Mpre: <http://www.lastfm.ru/api/show/user.getRecommendedArtists>getRecommendedArtists::MaybePage->MaybeLimit->APIKey->SessionKey->Secret->LastfmResponsegetRecommendedArtistspagelimitapiKeysessionKeysecret=callAPIsignedsecret[(#)(Method"user.getRecommendedArtists"),(#)page,(#)limit,(#)apiKey,(#)sessionKey]-- | Get a paginated list of all events recommended to a user by Last.fm, based on their listening profile.---- More: <http://www.lastfm.ru/api/show/user.getRecommendedEvents>getRecommendedEvents::MaybePage->MaybeLimit->APIKey->SessionKey->Secret->LastfmResponsegetRecommendedEventspagelimitapiKeysessionKeysecret=callAPIsignedsecret[(#)(Method"user.getRecommendedEvents"),(#)page,(#)limit,(#)apiKey,(#)sessionKey]-- | Get shouts for this user. Also available as an rss feed.---- More: <http://www.lastfm.ru/api/show/user.getShouts>getShouts::User->MaybePage->MaybeLimit->APIKey->LastfmResponsegetShoutsuserpagelimitapiKey=callAPI[(#)(Method"user.getShouts"),(#)user,(#)page,(#)limit,(#)apiKey]-- | Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default.---- More: <http://www.lastfm.ru/api/show/user.getTopAlbums>getTopAlbums::User->MaybePeriod->MaybePage->MaybeLimit->APIKey->LastfmResponsegetTopAlbumsuserperiodpagelimitapiKey=callAPI[(#)(Method"user.getTopAlbums"),(#)user,(#)period,(#)page,(#)limit,(#)apiKey]-- | Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default.---- More: <http://www.lastfm.ru/api/show/user.getTopArtists>getTopArtists::User->MaybePeriod->MaybePage->MaybeLimit->APIKey->LastfmResponsegetTopArtistsuserperiodpagelimitapiKey=callAPI[(#)(Method"user.getTopArtists"),(#)user,(#)period,(#)page,(#)limit,(#)apiKey]-- | Get the top tags used by this user.---- More: <http://www.lastfm.ru/api/show/user.getTopTags>getTopTags::User->MaybeLimit->APIKey->LastfmResponsegetTopTagsuserlimitapiKey=callAPI[(#)(Method"user.getTopTags"),(#)user,(#)limit,(#)apiKey]-- | Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default.---- More: <http://www.lastfm.ru/api/show/user.getTopTracks>getTopTracks::User->MaybePeriod->MaybePage->MaybeLimit->APIKey->LastfmResponsegetTopTracksuserperiodpagelimitapiKey=callAPI[(#)(Method"user.getTopTracks"),(#)user,(#)period,(#)page,(#)limit,(#)apiKey]-- | 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.---- More: <http://www.lastfm.ru/api/show/user.getWeeklyAlbumChart>getWeeklyAlbumChart::User->MaybeFrom->MaybeTo->APIKey->LastfmResponsegetWeeklyAlbumChartuserfromtoapiKey=callAPI[(#)(Method"user.getWeeklyAlbumChart"),(#)user,(#)from,(#)to,(#)apiKey]-- | 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.---- More: <http://www.lastfm.ru/api/show/user.getWeeklyArtistChart>getWeeklyArtistChart::User->MaybeFrom->MaybeTo->APIKey->LastfmResponsegetWeeklyArtistChartuserfromtoapiKey=callAPI[(#)(Method"user.getWeeklyArtistChart"),(#)user,(#)from,(#)to,(#)apiKey]-- | Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services.---- More: <http://www.lastfm.ru/api/show/user.getWeeklyChartList>getWeeklyChartList::User->APIKey->LastfmResponsegetWeeklyChartListuserapiKey=callAPI[(#)(Method"user.getWeeklyChartList"),(#)user,(#)apiKey]-- | 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.---- More: <http://www.lastfm.ru/api/show/user.getWeeklyTrackChart>getWeeklyTrackChart::User->MaybeFrom->MaybeTo->APIKey->LastfmResponsegetWeeklyTrackChartuserfromtoapiKey=callAPI[(#)(Method"user.getWeeklyTrackChart"),(#)user,(#)from,(#)to,(#)apiKey]-- | Shout on this user's shoutbox.---- More: <http://www.lastfm.ru/api/show/user.shout>shout::User->Message->APIKey->SessionKey->Secret->LastfmResponseshoutusermessageapiKeysessionKeysecret=callAPIsignedsecret[(#)(Method"user.shout"),(#)user,(#)message,(#)apiKey,(#)sessionKey]