https://github.com/lukaspustina/netatmo-rs
netatmo-rs is a simple Rust library to talk to Netatmo's API.
https://github.com/lukaspustina/netatmo-rs
api-client netatmo netatmo-api
Last synced: 8 months ago
JSON representation
netatmo-rs is a simple Rust library to talk to Netatmo's API.
- Host: GitHub
- URL: https://github.com/lukaspustina/netatmo-rs
- Owner: lukaspustina
- License: mit
- Created: 2019-04-27T11:49:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T16:48:12.000Z (over 4 years ago)
- Last Synced: 2024-11-17T07:49:46.044Z (over 1 year ago)
- Topics: api-client, netatmo, netatmo-api
- Language: Rust
- Homepage:
- Size: 134 KB
- Stars: 6
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# netatmo-rs
 [](https://github.com/lukaspustina/netatmo-rs/releases) [](https://crates.io/crates/netatmo-rs) [](./LICENSE)
`netatmo-rs` is a simple [Rust](https://rust-lang.org) library to talk to [Netatmo's API](https://dev.netatmo.com/resources/technical/introduction).
## Changelog
Please see the [CHANGELOG](CHANGELOG.md) for a release history.
## Installation
### Create Netatmo App
1. Create a new App for your personal Netatmo account at the [Create an App](https://dev.netatmo.com/myaccount/createanapp) page.
2. Save client id and client secret.
## Development
### Run Examples
```bash
NETATMO_CLIENT_ID=xxxx NETATMO_CLIENT_SECRET=xxxx NETATMO_USERNAME=xxxx NETATMO_PASSWORD=xxxx NETATMO_DEVICE_ID=xxxx cargo run --example get_station_data
```
## Postcardware
You're free to use `netatmo-rs`. If you find it useful, I would highly appreciate you sending me a postcard from your hometown mentioning how you use `netatmo-rs`. My work address is
```
Lukas Pustina
CenterDevice GmbH
Rheinwerkallee 3
53227 Bonn
Germany
```
## Todos
1. Semantic transformation of results -> use enums, timezone etc instead of Strings and int values.