elixirfm v0.0.11 Elixirfm.Tags

Wrapper for Last.fm Tags endpoints

Link to this section Summary

Functions

Get the metadata for a tag

Search for similar tags. Returns tags ranked by similarity, based on listening data

Get the top albums tagged by this tag, ordered by tag count

Get the top artists tagged by this tag, ordered by tag count

Get the top tracks tagged by this tag, ordered by tag count

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

Fetches the top global tags on Last.fm, sorted by popularity (number of times used)

Link to this section Types

Link to this type tag_opts()
tag_opts() :: [page: non_neg_integer, limit: non_neg_integer]

Link to this section Functions

Link to this function get_info(query, args \\ [lang: "eng"])
get_info(String.t, [{:lang, String.t}]) :: Elixirfm.response

Get the metadata for a tag

Link to this function get_similar(query)
get_similar(String.t) :: Elixirfm.response

Search for similar tags. Returns tags ranked by similarity, based on listening data.

Link to this function get_top_albums(query, args \\ [page: 1, limit: 15])
get_top_albums(String.t, tag_opts) :: Elixirfm.response

Get the top albums tagged by this tag, ordered by tag count.

Link to this function get_top_artists(query, args \\ [page: 1, limit: 15])
get_top_artists(String.t, tag_opts) :: Elixirfm.response

Get the top artists tagged by this tag, ordered by tag count.

Link to this function get_top_tracks(query, args \\ [page: 1, limit: 50])
get_top_tracks(String.t, tag_opts) :: Elixirfm.response

Get the top tracks tagged by this tag, ordered by tag count.

Link to this function get_weekly_chart(query)
get_weekly_chart(String.t) :: Elixirfm.response

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

Fetches the top global tags on Last.fm, sorted by popularity (number of times used)