{"id":15064169,"url":"https://github.com/chmoore889/esp_rainmaker","last_synced_at":"2025-06-18T03:03:37.499Z","repository":{"id":49127870,"uuid":"322964779","full_name":"chmoore889/esp_rainmaker","owner":"chmoore889","description":"A wrapper of the ESP Rainmaker REST API for client-cloud communication.","archived":false,"fork":false,"pushed_at":"2022-01-23T23:01:20.000Z","size":118,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T12:13:19.815Z","etag":null,"topics":["esp-rainmaker","esp32","espressif"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/esp_rainmaker","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chmoore889.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-20T00:33:53.000Z","updated_at":"2024-11-18T13:33:06.000Z","dependencies_parsed_at":"2022-09-05T13:41:33.411Z","dependency_job_id":null,"html_url":"https://github.com/chmoore889/esp_rainmaker","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chmoore889/esp_rainmaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fesp_rainmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fesp_rainmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fesp_rainmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fesp_rainmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmoore889","download_url":"https://codeload.github.com/chmoore889/esp_rainmaker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fesp_rainmaker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260477915,"owners_count":23015063,"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":["esp-rainmaker","esp32","espressif"],"created_at":"2024-09-25T00:12:49.097Z","updated_at":"2025-06-18T03:03:32.480Z","avatar_url":"https://github.com/chmoore889.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\nA wrapper of the ESP Rainmaker REST API for client-cloud communication.\n\nUses the [isolate_json](https://pub.dev/packages/isolate_json) package for decoding/encoding JSONs. This allows this package to use the same isolate for decoding/encoding as this package's complement, [esp_rainmaker_local_control](https://pub.dev/packages/esp_rainmaker_local_control).\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:esp_rainmaker/esp_rainmaker.dart';\n\nFuture\u003cvoid\u003e main() async {\n  final user = User();\n\n  //Create new user\n  await user.createUser('email@email.com', 'password12345');\n\n  //Login and extend session\n  final login = await user.login('email@email.com', 'password12345');\n  await user.extendSession('email@email.com', login.refreshToken);\n\n  //Add node mapping and check status\n  final nodeAssociation = NodeAssociation(login.accessToken);\n  final reqId = await nodeAssociation.addNodeMapping('nodeid1234', 'very_secret_key');\n  await nodeAssociation.getMappingStatus(reqId);\n}\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/chmoore889/esp_rainmaker/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmoore889%2Fesp_rainmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmoore889%2Fesp_rainmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmoore889%2Fesp_rainmaker/lists"}