you're right...
console.log("api is: " + (typeof api));
api is: string

but api === '17' didn't work, should i convert to an int and then compare?