Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 967 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 967 Bytes

GoNetatmo CircleCi Build Status

Simple goloang client to retrieve json data from the netatmo weather station via [api.netatmo.com]

More details:

https://dev.netatmo.com/resources/technical/reference

Get started

  1. clone
$ git clone [email protected]:mariusbreivik/GoNetatmo.git
  1. install project dependencies:
$ dep ensure
  1. You need to create an application at https://dev.netatmo.com/ to be able to get your weather station data fra https://api.netatmo.com
    Create the .env file in the project directory containing the following:
CLIENT_ID=<clientID from your app at https://dev.netatmo.com/myaccount/>
NETATMO_USERNAME=<your username @ netatmo>
NETATMO_PASSWD=<your password @ netatmo>
CLIENT_SECRET=<your client secret for your app @ netatmo>
  1. run
$ go run main.go