I wrote a python script which is used by some users (I think) for Dutch KNMI data. Now with the new metar plugin which uses the rester node.js script, I would like to do the same for KNMI, but I fail short (by far ).
The forecast is updated every 10 minutes and in json format: ftp://ftp.knmi.nl/pub_weerberichten/tabel_10Min_data.json
I think that KNMI plugin will even be simpler, but even that is too complicated for me.
So in Line 193 of @mwittig coffe script there is parser: rest.restler.parsers.xml
. I assume that could be copied for json.
The plugin would require the station name and supply the data.
I’ve done it in bash shell script, I did it in 2 different ways in Python, but I simply don’t understand the coffee script way.