elixirfm v0.1.2 Elixirfm.User
Last.fm User Enpoints
Link to this section Summary
Functions
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
Get a list of the user’s friends on Last.fm
Get a user’s profile infomation
Get the last 50 tracks loved by a user
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
Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default
Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default
Get the top tags used by this user
Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default
Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services
Link to this section Functions
get_artist_tracks(String.t(), String.t(), [{:page, non_neg_integer()}]) :: Elixirfm.response()
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.
start and end times not implemented yet
get_friends(String.t(), [limit: non_neg_integer(), page: non_neg_integer(), recenttracks: boolean()]) :: Elixirfm.response()
Get a list of the user’s friends on Last.fm.
Get a user’s profile infomation.
get_loved_tracks(String.t(), [page: non_neg_integer(), limit: non_neg_integer()]) :: Elixirfm.response()
Get the last 50 tracks loved by a user.
get_recent_tracks(String.t(), [limit: non_neg_integer(), page: non_neg_integer(), extended_info: non_neg_integer()]) :: Elixirfm.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.
extended_info
argument accepts 1 or 0 as true or false
to and from arguments not implemented yet
get_top_albums(String.t(), [period: String.t(), page: non_neg_integer(), limit: non_neg_integer()]) :: Elixirfm.response()
Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default.
peroid
argument acceptes: overall | 7day | 1month | 3month | 6month | 12month
get_top_artists(String.t(), [period: String.t(), page: non_neg_integer(), limit: non_neg_integer()]) :: Elixirfm.response()
Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default.
get_top_tags(String.t(), [{:limit, non_neg_integer()}]) :: Elixirfm.response()
Get the top tags used by this user.
get_top_track(String.t(), [peroid: String.t(), page: non_neg_integer(), limit: non_neg_integer()]) :: Elixirfm.response()
Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default.
Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services.