{"id":20366442,"url":"https://github.com/goktugcy/tuya-restapi-services","last_synced_at":"2025-09-23T19:30:24.845Z","repository":{"id":213010964,"uuid":"732808481","full_name":"goktugcy/tuya-restapi-services","owner":"goktugcy","description":"Tuya IoT rest api services with express","archived":false,"fork":false,"pushed_at":"2023-12-18T07:57:02.000Z","size":57,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-15T00:29:07.015Z","etag":null,"topics":["express","tuya-api","tuya-cloud","tuya-iot","tuya-smart","tuyapi","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goktugcy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-17T22:11:27.000Z","updated_at":"2024-05-30T13:20:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"139adbf4-342e-491f-ba5e-7b1c9dbf50f7","html_url":"https://github.com/goktugcy/tuya-restapi-services","commit_stats":null,"previous_names":["goktugcy/tuya-restapi-services"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goktugcy%2Ftuya-restapi-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goktugcy%2Ftuya-restapi-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goktugcy%2Ftuya-restapi-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goktugcy%2Ftuya-restapi-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goktugcy","download_url":"https://codeload.github.com/goktugcy/tuya-restapi-services/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233993200,"owners_count":18762807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","tuya-api","tuya-cloud","tuya-iot","tuya-smart","tuyapi","typescript"],"created_at":"2024-11-15T00:24:48.930Z","updated_at":"2025-09-23T19:30:24.468Z","avatar_url":"https://github.com/goktugcy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#  Tuya Rest API Service\n\nThis project utilizes RESTful APIs to control your devices on the Tuya IoT platform.\n\n## Installation\n\n1. **Install Dependencies:**\n\n   ```bash\n   npm install\n   ```\n2. **Set Environment Variables:**\n\nSet the following environment variables to run the project:\n```\nCLIENT_ID: Client ID obtained from the Tuya platform.\nCLIENT_SECRET: Client secret obtained from the Tuya platform.\nDEVICE_ID: Identifiers of the Tuya devices you want to control (comma-separated list).\nSWITCH_COMMAND: Command code used for switching in your Tuya devices.\n```\n\n\n## API USAGE\n\n#### Switch the Tuya lamb on/off\n\n```\n  GET /power\n```\n\n| Parameter | Type    | Description              |\n| :-------- | :------- | :------------------------- |\n| `CLIENT_ID` | `string` | **REQUIRED** |\n| `CLIENT_SECRET` | `string` | **REQUIRED** |\n| `DEVICE_ID` | `string` | **REQUIRED** |\n\n\n## Tuya IoT services\n\nhttps://iot.tuya.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoktugcy%2Ftuya-restapi-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoktugcy%2Ftuya-restapi-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoktugcy%2Ftuya-restapi-services/lists"}