Access single public station

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
berkinet
Posts: 17
Joined: 07 May 2013, 17:34

Access single public station

Post by berkinet » 28 Aug 2017, 11:34

Does anyone know if it is possible to access the data from a single weather station (a station you do not own)? This might be via the API or web scraping. For example, on the Netatmo Weather Map I can click on any arbitrary station and see it's data. Using the API with Getpublicdata I have to define an area that includes the target station, then in my own code, filter for the one station I want. There must be a more direct way.

Any ideas (or code!!) appreciated.
Last edited by berkinet on 04 Oct 2019, 18:57, edited 1 time in total.

IanD
Posts: 1
Joined: 04 Oct 2019, 18:22

Re: Access single public station

Post by IanD » 04 Oct 2019, 18:25

A couple of years later I had the same issue.

The is an undocumented API endpoint that the weather map uses called getpublicmeasure. Just provide the device_id and your access_token to that and you'll get the data you're after.

Hope this helps somebody else in the future

Post Reply

Return to “Netatmo API”