Skip to content

Methods

Here we have the list of available methods to fetch data from LastFM API. The methods are gathered in sections: Album, Artist, Chart, Country, Tag, Track, and User.

To understand the parameters of this package, please go to the specifications here.

The LastFM API official doc gives the output format, please check here. However, the community has written another version that could help, check here here.

Album methods

Artists methods

Chart methods

Country methods

Tag methods

Track methods

User methods

What is not implemented

There are some methods available in LastFM API backend that are not implemented in this package.

  • album.addTags
  • album.removeTag
  • artist.addTags
  • artist.removeTag
  • auth.getMobileSession
  • auth.getSession
  • auth.getToken
  • tag.getTopTags
  • tag.getWeeklyChartList
  • track.addTags
  • track.love
  • track.removeTag
  • track.scrobble
  • track.unlove
  • track.updateNowPlaying
  • user.getWeeklyChartList

The tag.getWeeklyChartList and user.getWeeklyChartList methods were ignored, because this package does not handle weeks, but with specific dates. So the fetched data from these methods are useless to the user.

The others are POST and authentication methods. Feel free to add them, learn how to contribute here.