Page 1 of 1

To obtain json data from the api

Posted: 23 Dec 2017, 15:16
by passivehouse
Hi everybody,

I am sorry for such a silly question. I would like to download the json data of my weather station through the api. I installed the sdkNetatmo-API-PHP and I have no problem to run it to obtain the data from CLI_WS_API_Example.php for instance.
But actually I just would like to obtain de json data (to use them in a javascript application exhibit du simile project).

If one of you could provide me with a direct code to obtain the json data of my station (all the data from the past hour for instance and I would run the code every hour) I would be more than grateful.

Thanks a lot

Best regards,


Re: To obtain json data from the api

Posted: 12 Feb 2018, 13:46
by Jujonet
Here you are: