Skip to content

Add Tuya device fetch example#8

Open
doffpett wants to merge 1 commit into
mainfrom
codex/add-example-code-for-tuya-api-request
Open

Add Tuya device fetch example#8
doffpett wants to merge 1 commit into
mainfrom
codex/add-example-code-for-tuya-api-request

Conversation

@doffpett
Copy link
Copy Markdown
Owner

Summary

  • add fetch_tuya_space_devices.js that calls Tuya with access and refresh tokens
  • document example usage in README
  • extend .env.example with token placeholders

Testing

  • node fetch_tuya_space_devices.js (fails: Set TUYA_CLIENT_ID, TUYA_CLIENT_SECRET, TUYA_ACCESS_TOKEN and TUYA_REFRESH_TOKEN env vars)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant