elixirfm v0.0.11 Elixirfm.Artist

Wrapper for Last.fm Artist endpoints.

Currently only supports endpoints that do not require authentication.

todo: artist.addTags artist.getTags artist.removeTags

Link to this section Summary

Functions

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

Retrive list of Similar Artists

Get Top albums for an artist, ordered by popularity

Gets top tags for an artist on Lastfm, ordered by popularity

Gets top tracks for an artist, ordered by popularity. (defaults to first 15)

Link to this section Functions

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

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

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

Get artist info

Link to this function get_similar(query, args \\ [limit: 10])
get_similar(String.t, [{:limit, integer}]) :: Elixirfm.response

Retrive list of Similar Artists

Link to this function get_top_album(query, args \\ [page: 1, limit: 30])
get_top_album(String.t, [page: integer, limit: integer]) :: Elixirfm.response

Get Top albums for an artist, ordered by popularity

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

Gets top tags for an artist on Lastfm, ordered by popularity

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

Gets top tracks for an artist, ordered by popularity. (defaults to first 15)

Link to this function search(query, args \\ [page: 1, limit: 30])
search(String.t, [page: integer, limit: integer]) :: Elixirfm.response

Search an artist