Consume EchoNest web service
sima.lib.simaecho.SimaEch[source]¶EchoNest http client
cache = False¶HTTP cache to use, in memory or persitent.
| Parameters: | cache (BaseCache) – Set a cache, defaults to False. |
|---|
get_similar(artist)[source]¶Fetch similar artists
| Parameters: | artist (sima.lib.meta.Artist) – Artist to fetch similar artists from |
|---|---|
| Returns: | generator of sima.lib.meta.Artist |
get_toptrack(artist)[source]¶Fetch artist top tracks
| Parameters: | artist (sima.lib.meta.Artist) – Artist to fetch top tracks from |
|---|---|
| Returns: | generator of sima.lib.track.Track |