3 ms·
Used it for a while but moved over to a national weather service for better data and uptime. Nice API though.
by cess11 1y ago
Used it for a while but moved over to a national weather service for better data and uptime.
Nice API though.
- opan 1y agoHow do you make use of your national weather service? Do you get a similar terminal output in the end?
- cess11 1y agoYeah. I use the one in a neighboring country because they provide decent JSON and image API:s, unlike my local weather service. In one use case I take 'https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=snip&lon=snip https://api.met.no/weatherapi/locationforecast/2.0/compact?l...' and push through a jq incantation to format the prognosis for the coming five hours into a neat packaging for terminal viewing, then put that in a watch -n on five minutes. I'm not really interested in the escape sequences and ASCII art.