Lastfm.Extract (lastfm_archive v0.9.0) View Source

This module implements Lastfm.Client behaviour for extracting data from Lastfm API.

Link to this section Summary

Functions

Returns the total playcount and earliest scrobble date for a user.

Link to this section Functions

Link to this function

info(user, api \\ %Lastfm.Client{method: "user.getinfo"})

View Source

Returns the total playcount and earliest scrobble date for a user.

Link to this function

playcount(user, arg \\ {nil, nil}, api \\ %Lastfm.Client{method: "user.getrecenttracks"})

View Source

Returns the playcount of a user for a given time range.

Link to this function

scrobbles(user, page_params \\ {1, 1, nil, nil}, api \\ %Lastfm.Client{method: "user.getrecenttracks"})

View Source

Returns the scrobbles of a user for a given time range.

See Lastfm API documentation for more details.