echonest - Querying by Spotify ID in Echo Nest API -


i've got songs spotify play lists , need information in en. take “all want” tania bowra example.

en id(not given):    soujwuh13e89d89ded  spotify id:          2tpxz7jubn3uw46ar7qd6v  spotify uri:         spotify:track:2tpxz7jubn3uw46ar7qd6v  spotify external id: aucr10410001 (isrc) 

if query spotify external id or spotify id in en, like

$curl -x "http://developer.echonest.com/api/v4/song/profile?api_key={my_api_key}&id=aucr10410001&bucket=audio_summary" | python -m json.tool 

or

$curl -x "http://developer.echonest.com/api/v4/song/profile?api_key={my_api_key}&id=2tpxz7jubn3uw46ar7qd6v&bucket=audio_summary" | python -m json.tool 

the en api returns message: "id - invalid parameter: id must echo nest id or foreign id".

or if query spotify uri, like

$curl -x "http://developer.echonest.com/api/v4/song/profile?api_key={my_api_key}&id=spotify:track:2tpxz7jubn3uw46ar7qd6v&bucket=audio_summary" | python -m json.tool 

i response:

{     "response": {         "songs": [],         "status": {             "code": 0,             "message": "success",             "version": "4.2"         }     } } 

which contains no information.

but spotify's website says, should work.

it works "song" modified "track":

$curl -x "http://developer.echonest.com/api/v4/track/profile?api_key={my_api_key}&format=json&id=spotify:track:2tpxz7jubn3uw46ar7qd6v&bucket=audio_summary" 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -