Hi, while attempting to use the freesound.js client for the API, I'm not quite sure how I'm supposed to make the function calls like getSound(), as the sound response seems to always be undefined when trying to implement this on node.js (server side).
example would be:
const freesound = require('./freesound.js')
freesound.setToken("YOUR_API_KEY_HERE");
freesound.getSound(96541, sound => {
console.log(sound)
})
which returns undefined, rather than any data.
I'm just starting my usage of this api, so is there something I'm missing/writing incorrectly?