Created
June 17, 2014 19:09
-
-
Save shanesveller/3245f275d47d416d7d64 to your computer and use it in GitHub Desktop.
Last.fm - Similar artists via httpie / jq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ LFM_ROOT=http://ws.audioscrobbler.com/2.0/ | |
$ ARTIST="Rise Against" | |
$ AGENT=ShaneSveller | |
$ API_KEY=CHANGEME | |
$ http GET $LFM_ROOT method==artist.getsimilar artist=="$ARTIST" api_key==$API_KEY format==json User-Agent:$AGENT | jq '.similarartists.artist[].name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment