{-# LANGUAGE TemplateHaskell #-} -- | User API module {-# OPTIONS_HADDOCK prune #-} module Network.Lastfm.JSON.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 ) where import Network.Lastfm import qualified Network.Lastfm.API.User as API $(json ["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"]) -- | 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: getArtistTracks ∷ User → Artist → Maybe StartTimestamp → Maybe EndTimestamp → Maybe Page → APIKey → Lastfm Response -- | Returns the tracks banned by the user. -- -- More: getBannedTracks ∷ User → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get a list of upcoming events that this user is attending. -- -- Mpre: getEvents ∷ User → Maybe Page → Maybe Limit → Maybe FestivalsOnly → APIKey → Lastfm Response -- | Get a list of the user's friends on Last.fm. -- -- More: getFriends ∷ User → Maybe RecentTracks → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get information about a user profile. -- -- More: getInfo ∷ Maybe User → APIKey → Lastfm Response -- | Get tracks loved by a user. -- -- More: getLovedTracks ∷ User → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get a list of a user's neighbours on Last.fm. -- -- More: getNeighbours ∷ User → Maybe Limit → APIKey → Lastfm Response -- | Gets a list of forthcoming releases based on a user's musical taste. -- -- More: getNewReleases ∷ User → Maybe UseRecs → APIKey → Lastfm Response -- | Get a paginated list of all events a user has attended in the past. -- -- More: getPastEvents ∷ User → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get the user's personal tags. -- -- More: getPersonalTags ∷ User → Tag → TaggingType → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get a list of a user's playlists on Last.fm. -- -- More: getPlaylists ∷ User → APIKey → Lastfm Response -- | Get a list of the recent Stations listened to by this user. -- -- More: getRecentStations ∷ User → Maybe Page → Maybe Limit → APIKey → SessionKey → Secret → Lastfm Response -- | 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: getRecentTracks ∷ User → Maybe Page → Maybe Limit → Maybe From → Maybe To → APIKey → Lastfm Response -- | Get Last.fm artist recommendations for a user. -- -- Mpre: getRecommendedArtists ∷ Maybe Page → Maybe Limit → APIKey → SessionKey → Secret → Lastfm Response -- | Get a paginated list of all events recommended to a user by Last.fm, based on their listening profile. -- -- More: getRecommendedEvents ∷ Maybe Page → Maybe Limit → APIKey → SessionKey → Secret → Lastfm Response -- | Get shouts for this user. Also available as an rss feed. -- -- More: getShouts ∷ User → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default. -- -- More: getTopAlbums ∷ User → Maybe Period → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default. -- -- More: getTopArtists ∷ User → Maybe Period → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | Get the top tags used by this user. -- -- More: getTopTags ∷ User → Maybe Limit → APIKey → Lastfm Response -- | Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default. -- -- More: getTopTracks ∷ User → Maybe Period → Maybe Page → Maybe Limit → APIKey → Lastfm Response -- | 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: getWeeklyAlbumChart ∷ User → Maybe From → Maybe To → APIKey → Lastfm Response -- | 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: getWeeklyArtistChart ∷ User → Maybe From → Maybe To → APIKey → Lastfm Response -- | Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services. -- -- More: getWeeklyChartList ∷ User → APIKey → Lastfm Response -- | 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: getWeeklyTrackChart ∷ User → Maybe From → Maybe To → APIKey → Lastfm Response -- | Shout on this user's shoutbox. -- -- More: shout ∷ User → Message → APIKey → SessionKey → Secret → Lastfm Response