ACRCloud
Ask or search…
K
Links

Metadata API

Python
NodeJs - Axios
import requests
url = "https://eu-api-v2.acrcloud.com/api/external-metadata/tracks"
payload={}
headers = {
'Authorization': 'Bearer your token'
}
params = {
'query':json.dumps({"track": "jus sayin", "artists": ["steve lawler","Dateless"]}),
'format':'json'
}
response = requests.get(url, headers=headers, params=params)
print(response.text)
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://eu-api-v2.acrcloud.com/api/external-metadata/tracks',
params: {
query:JSON.stringify({"track": "jus sayin", "artists": ["steve lawler", "Dateless"]}),
format:'json'
},
headers: {
'Authorization': 'Bearer YOUR_TOKEN'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Last modified 1mo ago