elixirfm v1.0.1 Elixirfm.Artist

Functions for Last.fm Artist endpoints.

todo: artist.addTags 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 Lastfm tags associated with the artist

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

correction(query)

Specs

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

info(query, args \\ [lang: "eng", username: ""])

Specs

info(String.t(), lang: String.t(), username: String.t()) :: Elixirfm.response()

Get artist info

Link to this function

search(query, args \\ [page: 1, limit: 30])

Specs

search(String.t(), page: integer(), limit: integer()) :: Elixirfm.response()

Search an artist

Link to this function

similar(query, args \\ [limit: 10])

Specs

similar(String.t(), [{:limit, integer()}]) :: Elixirfm.response()

Retrive list of Similar Artists

Link to this function

tags(query, args \\ [])

Get Lastfm tags associated with the artist

Link to this function

top_album(query, args \\ [page: 1, limit: 30])

Specs

top_album(String.t(), page: integer(), limit: integer()) :: Elixirfm.response()

Get Top albums for an artist, ordered by popularity

Link to this function

top_tags(query)

Specs

top_tags(String.t()) :: Elixirfm.response()

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

Link to this function

top_tracks(query, args \\ [page: 1, limit: 15])

Specs

top_tracks(String.t(), page: integer(), limit: integer()) :: Elixirfm.response()

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