Functions for the Last.fm Tag API methods.
Summary
Functions
Fetches metadata for a tag, including its wiki (tag.getInfo).
Fetches tags similar to the given one (tag.getSimilar).
Fetches the top albums tagged with the given tag (tag.getTopAlbums).
Fetches the top artists tagged with the given tag (tag.getTopArtists).
Fetches the most popular tags on Last.fm (tag.getTopTags).
Fetches the top tracks tagged with the given tag (tag.getTopTracks).
Fetches the weekly chart periods available for a tag (tag.getWeeklyChartList).
Functions
Fetches metadata for a tag, including its wiki (tag.getInfo).
Pass lang: "es" for a translated wiki summary.
Lastex.Tag.info("progressive metal")
Fetches tags similar to the given one (tag.getSimilar).
Lastex.Tag.similar("progressive metal")
Fetches the top albums tagged with the given tag (tag.getTopAlbums).
Returns a Lastex.Page. Supports limit and page.
Lastex.Tag.top_albums("progressive metal", limit: 10)
Fetches the top artists tagged with the given tag (tag.getTopArtists).
Returns a Lastex.Page. Supports limit and page.
Lastex.Tag.top_artists("progressive metal", limit: 10)
Fetches the most popular tags on Last.fm (tag.getTopTags).
Returns a Lastex.Page.
Lastex.Tag.top_tags()
Fetches the top tracks tagged with the given tag (tag.getTopTracks).
Returns a Lastex.Page. Supports limit and page.
Lastex.Tag.top_tracks("progressive metal", limit: 10)
Fetches the weekly chart periods available for a tag (tag.getWeeklyChartList).
Each entry carries from and to Unix timestamps.
Lastex.Tag.weekly_chart_list("progressive metal")