Sunday 28 January 2018

how to start api function and display api results in html

so I am using ACR Cloud API to identify a song and give me info about it. I have gotten it to run from terminal using node and I get the following information: {"status":{"msg":"Success","code":0,"version":"1.0"},"metadata":{"music":[{"external_ids": {"isrc":"USUM71710209","upc":"00602567107392"},"play_offset_ms":26320, "release_date":"2017-11-03","external_metadata":{"spotify":{"album": {"name":"Scarecrow In The Garden","id":"7qVmjzJwcjzBQ8ZxDjd2lS"},"artists":[{"name":"Chris Stapleton","id":"0rgNhjV1tJOP1ivceIH55a"}}},"artists": [{"name":"Chris Stapleton"}],"title":"Scarecrow In The Garden","label":"Mercury Nashville","duration_ms":200000,"album": {"name":"Scarecrow In The Garden"},"acrid":"23d39647c57b1a12fa62c7269b32845a", "result_from":1,"score":100}], "timestamp_utc":"2018-01-28 04:15:53"},"cost_time":4.3029999732971,"result_type":0}I'd like to do the following things:Get this to run by visiting an html pagetranslate this data to be in html tags.

Submitted January 28, 2018 at 07:14AM by scotdle

No comments:

Post a Comment