Closed lucas42 closed 13 years ago
This is a little confusing, but there are two kinds of API keys. The client
parameter should contain an application API key and the user
parameter an user API key. You can get an application API key here http://acoustid.org/new-application
Thanks for that, I've set up an application key and it works great, Cheers.
@lalinsky just to be clear:
acoustid("./data/B00IMFOVEG.mp3",
{
key: "yyyyy",
meta: {
client: "xxxxx"
},
fpcalc: {
command: './bin/darwin/fpcalc'
}
}, function (err, results) {
if (err) throw err;
console.log(results);
});
In my case this works for me with or without the meta
. Also I don't see any user
key.
Accessing the API using the key shown on http://acoustid.org/api-key returns an error {"status": "error", "error": {"message": "invalid API key", "code": 4}} Using the example API key shown in the documentation works fine.
I've tried generating a new key, but that didn't work either.