{"id":31557973,"url":"https://github.com/jooohannesk/tbrestclientlib","last_synced_at":"2025-10-05T00:10:30.772Z","repository":{"id":317276855,"uuid":"1066611031","full_name":"JoooHannesk/tbrestclientlib","owner":"JoooHannesk","description":"Simple client library for ThingsBoard - implementing the administration / user-space API (not device API) – written in Swift.","archived":false,"fork":false,"pushed_at":"2025-09-29T21:54:55.000Z","size":1423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-29T23:54:51.421Z","etag":null,"topics":["iot","iot-api","iot-platform","swift","swift-package","thingsboard"],"latest_commit_sha":null,"homepage":"https://johanneskinzig.com/tbrestclientlib.html","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoooHannesk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-29T18:11:40.000Z","updated_at":"2025-09-29T21:54:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"472af64a-40f0-4092-9e48-a8b25e1e1da8","html_url":"https://github.com/JoooHannesk/tbrestclientlib","commit_stats":null,"previous_names":["jooohannesk/tbrestclientlib"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/JoooHannesk/tbrestclientlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoooHannesk%2Ftbrestclientlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoooHannesk%2Ftbrestclientlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoooHannesk%2Ftbrestclientlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoooHannesk%2Ftbrestclientlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoooHannesk","download_url":"https://codeload.github.com/JoooHannesk/tbrestclientlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoooHannesk%2Ftbrestclientlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391399,"owners_count":25978981,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["iot","iot-api","iot-platform","swift","swift-package","thingsboard"],"created_at":"2025-10-05T00:10:29.341Z","updated_at":"2025-10-05T00:10:30.767Z","avatar_url":"https://github.com/JoooHannesk.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![project_avatar_icon](https://raw.githubusercontent.com/JoooHannesk/tbrestclientlib/refs/heads/main/Meta/tbrestclientlib-project-avatar.png)\n\n# TBRESTClientLib\n\nSimple client library for [ThingsBoard](https://thingsboard.io) servers - implementing the administration / user-space API (not device API) – written in Swift.\n\n## 🛠 Development Status – Available Functions (v0.0.16)\nThis library is continuously growing but has **not yet implemented all API endpoints**. Currently supported functionality:\n\n+ [Login](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#Initialization-and-Login-Authentication)\n+ [Logout](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#Logout)\n+ [Read own user profile](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#User-Profile)\n+ [Read customer info](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage/#Customer-Info)\n+ [Read devices and device profiles](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#Devices-and-device-profiles)\n+ [Read attributes](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#Entity-attributes)\n+ [Set / delete attributes](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#saveEntityAttributes)\n+ [Read time-series data](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#Entitiy-timeseries-data)\n+ [Manipulate / delete time-series data](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage#deleteEntityTimeseries)\n\nPlease refer to the documentation for further details regarding the [development status](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/#Development-Status).\n\nThis library was initiated as a sub-project of a larger project which required API access to ThingsBoard server instances. Because library development can be seen as a full project by itself, this part then was open-sourced and released to the public.\nPlease note: This library is continuously growing but **has not implemented all API endpoints** yet. The same applies to the endpoint's responses: This library does not process every fetched element inside the JSON response string (as described by the official API scheme). It neglects the ones which were out of the parent-project's scope. Refer to ´TbDataModels.swift´ for further details about the properties contained in each schema response model.\n\n## Documentation\n+ 📚 [Library Documentation](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib)\n+ 🏠 [Library Home](https://johanneskinzig.com/tbrestclientlib.html)\n\n## Release history\n[See what's new](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/releasenotes)\n\n* Version 0.0.15 - 2025-08-19\n* Version 0.0.14 - 2025-08-18\n* Version 0.0.13 – 2025-07-17\n* Version 0.0.10 - 11.06.2025\n* Version 0.0.9 - 18.12.2024\n* Version 0.0.7 - 20.11.2024\n\nImplementation against the official ThingsBoard API – [ThingsBoard CE Docs](https://thingsboard.io/docs/). All integration tests ran against real ThingsBoard installations:\n\n* ThingsBoard CE 3.9.0 with an on-premise installation – [v.3.9.0 API Reference](https://app.swaggerhub.com/apis/johannes_kinzig/thingsboard-rest-api/3.9.0)\n* ThingsBoard CE 3.8.0 with an on-premise installation\n* ThingsBoard CE 3.7.0 with an on-premise installation – [v.3.7.0 API Reference](https://app.swaggerhub.com/apis-docs/johannes_kinzig/thingsboard-rest-api/3.7.0)\n\n## Requirements\nThis library works with and was tested on:\n\n* iOS \u003e= 17.5\n* macOS \u003e= 14.0\n\nLinux is currently unsupported due to an incompatibility in how this library uses `URLSession`. While a potential workaround exists, it has not been fully investigated or tested. Additionally, since version 0.0.11, *OSLog* is used for logging, which is also currently unsupported by Swift on Linux. (Both were added as a ToDo 😉)\n\n* Please refer to library DocC documentation: [Requirements](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/#Requirements)\n\n## Installation\n* Please refer to library documentation: [Installation](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/installation)\n\n## Usage\n* Please refer to library documentation: [Usage](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/usage)\n\n## Unit \u0026 Integration Tests\n* Please refer to library documentation: [Testing](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/testing)\n\n## License\n* MIT License\n* Copyright (c) 2024 Johannes Kinzig\n* see LICENSE.txt\n\n## Contact and Contribution\n* Johannes Kinzig – [Mail](mailto:mail@johanneskinzig.com) – [Web](https://johanneskinzig.com)\n* for contribution please refer to official documentation: [Contribution](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/developmentcontribution)\n    \n## Disclaimer\nThis library is an independent implementation developed by [its author(s)](https://tbrestclientlib.kinzig-developer-docs.com/documentation/tbrestclientlib/#Contact-the-authors) and is **not affiliated with, endorsed by, or officially associated with ThingsBoard Inc. in any way**. For further details [mail the author](mailto:mail@johanneskinzig.com) and/or refer to this library's [license](https://github.com/JoooHannesk/tbrestclientlib/blob/main/LICENSE.txt).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjooohannesk%2Ftbrestclientlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjooohannesk%2Ftbrestclientlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjooohannesk%2Ftbrestclientlib/lists"}