#api-bindings #api #netatmo

netatmo-rs

Simple library to talk to Netatmo's API

7 releases (breaking)

0.5.0 Nov 10, 2020
0.4.0 Aug 31, 2020
0.3.0 Jan 27, 2020
0.2.1 Jun 1, 2019
0.0.1 Apr 27, 2019

#1024 in Web programming

MIT license

38KB
1K SLoC

netatmo-rs

CI GitHub release MIT licensed

netatmo-rs is a simple Rust library to talk to Netatmo's API.

Changelog

Please see the CHANGELOG for a release history.

Installation

Create Netatmo App

  1. Create a new App for your personal Netatmo account at the Create an App page.
  2. Save client id and client secret.

Development

Run Examples

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.

Dependencies

~28MB
~680K SLoC