elixirfm v0.0.10 Elixirfm.Track

Wrapper for Last.fm Track endpoints

Summary

Functions

Use the last.fm corrections data to check whether the supplied track has a correction to a canonical track

Get the metadata for a track on Last.fm using the artist & track name

Get the similar tracks for this track on Last.fm, based on listening data

Get the tags applied by an individual user to a track on Last.fm. To retrieve the list of top tags applied to a track by all users use .getTopTags

Get the top tags for this track on Last.fm, ordered by tag count

Functions

get_correction(artist, track)
get_correction(String.t, String.t) :: Elixirfm.response

Use the last.fm corrections data to check whether the supplied track has a correction to a canonical track.

get_info(artist, track, args \\ [username: ""])
get_info(String.t, String.t, [{:username, String.t}]) :: Elixirfm.response

Get the metadata for a track on Last.fm using the artist & track name.

get_similar(artist, track, args \\ [limit: 20])
get_similar(String.t, String.t, [{:limit, non_neg_integer}]) :: Elixirfm.response

Get the similar tracks for this track on Last.fm, based on listening data.

get_tags(artist, track, args \\ [username: ""])
get_tags(String.t, String.t, [{:username, String.t}]) :: Elixirfm.response

Get the tags applied by an individual user to a track on Last.fm. To retrieve the list of top tags applied to a track by all users use .getTopTags.

get_top_tags(artist, track)
get_top_tags(String.t, String.t) :: Elixirfm.response

Get the top tags for this track on Last.fm, ordered by tag count.