elixirfm v0.1.2 Elixirfm.Track

Wrapper for Last.fm Track endpoints

Link to this section 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

Link to this section Functions

Link to this function 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.

Link to this function 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.

Link to this function 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.

Link to this function 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.

Link to this function 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.