Re:BitBar: put the output from any script/program in your Ma...
by taylorzane on Tuesday January 05, 2016 @01:31AM
(#10841638)
You could use OpenWeatherMap's API. Something like this is pure (remove the `&units=imperial` if you prefer Celsius):
or you could replace the `sed` pipe with a call to `jq`:
[ Parent
| on HN ]
Re:BitBar: put the output from any script/program in your Ma...
by mkagenius on Tuesday January 05, 2016 @02:23AM
(#10841821)
> remove the `&units=imperial` if you prefer Celsius
That would get you Kelvin, use `&units=metric` for Celsius
Re:BitBar: put the output from any script/program in your Ma...
by taylorzane on Tuesday January 05, 2016 @10:06AM
(#10843540)
Good call! I completely forgot the default units were in Kelvin, and not Celsius.