No description
Find a file
2022-04-12 23:05:59 +01:00
docs docs 2021-07-31 10:49:15 +01:00
src simplify imports 2021-09-27 17:01:59 +01:00
tests run tests on c backend only 2022-04-12 23:05:59 +01:00
.gitignore multisync friendly api bindings 2020-11-16 09:54:58 +00:00
.gitlab-ci.yml move before_script into script 2021-09-14 09:36:51 +01:00
lastfm.nimble reflect actual support nim version 2021-09-21 17:45:49 +01:00
LICENSE Add LICENSE 2019-04-14 19:27:34 +00:00
README.md add CI badge to readme 2021-06-25 12:43:13 +01:00

lastfm-nim pipeline status

import lastfm
import lastfm/[track, artist, album, tag, geo, user]

Full documentation is available here.

This library contains multisync-friendly bindings to the Last.FM web API. The library returns API data as JsonNodes.

The list below shows each API method exposed by the package, the function implementing that method, and the submodule in which it is implemented:

API methods in lastfm/track

  • track.addTags: trackAddTags
  • track.getCorrection: trackCorrection
  • track.getInfo: trackInfo
  • track.getSimilar: similarTracks
  • track.getTags: trackTags
  • track.getTopTags: trackTopTags
  • track.love: loveTrack
  • track.removeTag: trackRemoveTag
  • track.scrobble: scrobble
  • track.search: searchTracks
  • track.unlove: unloveTrack
  • track.updateNowPlaying: setNowPlaying

API methods in lastfm/artist

  • artist.addTags: artistAddTags
  • artist.getCorrection: artistCorrection
  • artist.getInfo: artistInfo
  • artist.getSimilar: similarArtists
  • artist.getTags: artistTags
  • artist.getTopAlbums: artistTopAlbums
  • artist.getTopTags: artistTopTags
  • artist.getTopTracks: artistTopTracks
  • artist.removeTag: artistRemoveTag
  • artist.search: searchArtists

API methods in lastfm/album

  • album.getInfo: albumInfo
  • album.addTags: albumAddTags
  • album.removeTag: albumRemoveTag
  • album.getTags: albumTags
  • album.getTopTags: albumTopTags
  • album.search: searchAlbums

API methods in lastfm/tag

  • tag.getInfo: tagInfo
  • tag.getSimilar: similarTags
  • tag.getTopAlbums: topAlbumsForTag
  • tag.getTopArtists: topArtistsForTag
  • tag.getTopTracks: topTracksForTag
  • tag.getTopTags: topTags
  • tag.getWeeklyChartList: weeklyChartsForTag

API methods in lastfm/chart

  • chart.getTopTracks: chartTopTracks
  • chart.getTopTags: chartTopTags
  • chart.getTopArtists: chartTopArtists

API methods in lastfm/geo

  • geo.getTopTracks: geoTopTracks
  • geo.getTopArtists: geoTopArtists

API methods in lastfm/user

  • user.getInfo: userInfo
  • user.getLovedTracks: userLovedTracks
  • user.getRecentTracks: userRecentTracks
  • user.getPersonalTags: userPersonalTags
  • user.getTopTracks: userTopTracks
  • user.getTopArtists: userTopArtists
  • user.getTopAlbums: userTopAlbums
  • user.getTopTags: userTopTags

Furthermore, the following client authentication flows are supported: