9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Darksky
@ 2015-06-25 14:49 Anthony Sorace
  2015-06-25 15:19 ` Steve Simon
  2015-06-26  1:26 ` Justin Bedő
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony Sorace @ 2015-06-25 14:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I love that Weather Underground is still offering a telnet
interface, but I wanted a bit more control over what I get
back. I was also trying to get familiar with the nice JSON
library bedo did[1], so I wrote up a Darksky client. Get an
API key of your own[2] and stick it in $home/lib/darksky,
and you can ask for whatever combination of detail or
summary data for current conditions, minute-by-minute,
hour-by-hour, or day-by-day data you like. It’ll also print
any weather alerts in effect for your location.

The precipitation graph is maybe a little silly (the unicode
block drawing stuff doesn’t provide great granularity).

Source in /n/sources/contrib/anothy/src/cmd/darksky.c;
man in /n/sources/contrib/anothy/lib/man/darksky.1.

[1]	https://bitbucket.org/bedo/9son
[2]	https://developer.forecast.io/register




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-26  6:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25 14:49 [9fans] Darksky Anthony Sorace
2015-06-25 15:19 ` Steve Simon
2015-06-25 16:02   ` lucio
2015-06-25 18:10     ` Skip Tavakkolian
2015-06-26  1:26 ` Justin Bedő
2015-06-26  2:04   ` Anthony Sorace
2015-06-26  3:36     ` Justin Bedő
2015-06-26  6:10     ` steve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).