netatmo-api-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Netatmo API Client

This is a simple client for the Netatmo Weather API.

Example usage

const netatmoClient = new NetatmoApiClient('<CLIENT_ID>', '<CLIENT_SECRET>');

// login with (will not work after october 2023)
await netatmoClient.login('<USERNAME>', '<PASSWORD>');
// or
netatmoClient.setTokens('<ACCESS_TOKEN>', '<REFRESH_TOKEN>');

// use the client
const stationData = netatmoClient.getStationData();

Readme

Keywords

Package Sidebar

Install

npm i netatmo-api-client

Weekly Downloads

4

Version

1.1.3

License

MIT

Unpacked Size

42.9 kB

Total Files

74

Last publish

Collaborators

  • chrisigel