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
Get artist info
Search an 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
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
info(query, args \\ [lang: "eng", username: ""])
Specs
info(String.t(), lang: String.t(), username: String.t()) :: Elixirfm.response()
Get artist info
search(query, args \\ [page: 1, limit: 30])
Specs
search(String.t(), page: integer(), limit: integer()) :: Elixirfm.response()
Search an artist
similar(query, args \\ [limit: 10])
Specs
similar(String.t(), [{:limit, integer()}]) :: Elixirfm.response()
Retrive list of Similar Artists
tags(query, args \\ [])
Get Lastfm tags associated with the artist
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
top_tags(query)
Specs
top_tags(String.t()) :: Elixirfm.response()
Gets top tags for an artist on Lastfm, ordered by popularity
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)