Module geo

Search:
Group by:

back

Procs

proc geoTopArtists(fm: LastFM; country: string; page = 1; limit = 50): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of geo.getTopArtists. country is an ISO 3166-1 country code. Returns the JsonNode of the contents of the response.
proc geoTopTracks(fm: LastFM; country: string; page = 1; limit = 50): Future[JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of geo.getTopTracks. country is an ISO 3166-1 country code. Returns the JsonNode of the contents of the response.
proc geoTopTracks(fm: LastFM; country, location: string; page = 1; limit = 50): Future[  
JsonNode] {.
raises: [FutureError], tags: [ReadIOEffect, WriteIOEffect, TimeEffect, RootEffect]
.}
Breakout of geo.getTopTracks. country is an ISO 3166-1 country code. location is optional, and there is a variant of this function that does not require it. Returns the JsonNode of the contents of the response.