Module tag

back

Procs

proc tagInfo(fm: LastFM; tag: string): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getInfo. Returns the JsonNode of the contents of the response.
proc tagInfo(fm: LastFM; tag, lang: string): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getInfo. This variant fo the function includes the lang parameter, which is the ISO 639 alpha-2 code corresponding to the desired response language. Returns the JsonNode of the contents of the response.
proc similarTags(fm: LastFM; tag: string): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getSimilar. Returns the JsonNode of the contents of the response.
proc topAlbumsForTag(fm: LastFM; tag: string; page = 1; limit = 50): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getTopAlbums. Returns the JsonNode of the contents of the response.
proc topArtistsForTag(fm: LastFM; tag: string; page = 1; limit = 50): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getTopArtists. Returns the JsonNode of the contents of the response.
proc topTracksForTag(fm: LastFM; tag: string; page = 1; limit = 50): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getTopTracks. Returns the JsonNode of the contents of the response.
proc topTags(fm: LastFM): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getTopTags. Returns the JsonNode of the contents of the response.
proc weeklyChartsForTag(fm: LastFM; tag: string): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of Tag.getWeeklyChartList. Returns the JsonNode of the contents of the response.