API login from command line?

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
rs232
Posts: 9
Joined: 27 Jan 2019, 01:34

API login from command line?

Post by rs232 » 27 Jan 2019, 01:36

I was trying to do something very simple actually. e.g. power on/off the thermostat using a linux shell (so no webpage or else).

The DEV documentation seems pretty comprehensive but I can't get my head around on how to perform the authentication via shell (e.g. curl).

Does anybody have any working example?

Thanks

gloglo36
Posts: 9
Joined: 04 Sep 2017, 10:36

Re: API login from command line?

Post by gloglo36 » 27 Jan 2019, 08:23

Getting your access token is fairly easy : https://github.com/seblucas/netatmo2mqt ... resh-token

rs232
Posts: 9
Joined: 27 Jan 2019, 01:34

Re: API login from command line?

Post by rs232 » 27 Jan 2019, 12:48

thanks for the input.

Unfortunately I don't have python available. I'm trying to do this from a Linux based router (Tomato) which runs busybox only

Post Reply

Return to “Netatmo API”