elixirfm v0.0.4 Elixirfm.User

Last.fm User Enpoints

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

Functions

get_artist_tracks(user, artist, args \\ [page: 1])

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(query, args \\ [limit: 15, page: 1, recenttracks: false])

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

get_info(user)

Get a user’s profile infomation.

get_loved_tracks(query, args \\ [page: 1, limit: 50])

Get the last 50 tracks loved by a user.

get_recent_tracks(query, args \\ [limit: 20, page: 1, extended_info: 0])

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(query, args \\ [peroid: "overall", page: 1, limit: 15])

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(query, args \\ [peroid: "overall", page: 1, limit: 15])

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

get_top_tags(query, args \\ [limit: 15])

Get the top tags used by this user.

get_top_track(query, args \\ [peroid: "overall", page: 1, limit: 15])

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

get_weekly_charts(user)

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