View Source LastfmArchive.LastfmClient.Impl (lastfm_archive v1.2.1)

Client for extracting Lastfm user info and scrobbles data via the official API.

Summary

Functions

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

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

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

Functions

Link to this function

info(user \\ default_user(), api \\ LastfmApi.new("user.getinfo"))

View Source

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

Link to this function

playcount(user \\ default_user(), arg \\ {nil, nil}, api \\ LastfmApi.new())

View Source

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

Link to this function

scrobbles(user, arg, api)

View Source

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

See Lastfm API documentation for more details.