openapi
openapi copied to clipboard
🚪 a wrapper for Tuya's OpenAPI
Has christmas arrived early? https://github.com/tuya/tuya-connector-nodejs It is not published yet on NPM, and does not seem to have a built javascript version Could that deprecate this project?
`(async () => { await api.getToken(); const uid = await api.putUser({ countryCode: '**', username: '****************@gmail.com', password: '****************', usernameType: 2}); --->const token = await api.getDeviceToken({uid, timezone: 'Austria/Vienna'}); Token invalid right here...
I need help
Can someone help me with the setup.
I wanted to add the "PUT" function for changing a device name. Somehow I always get ` Error: permission deny`. I need to dig deeper into that to find out...