> curl is a program that is included in your Mac OSX distribution used for transferring data from or to a server.<p>For newbies who might be misled, cURL is available on a ridiculous number of platforms[1]<p>[1] <a href="https://curl.haxx.se/download.html" rel="nofollow">https://curl.haxx.se/download.html</a>
Nice! The <a href="http://wttr.in" rel="nofollow">http://wttr.in</a> website shows a nice report too.<p>If you use emacs, I've made this [1][2] which gets its data from DarkSky.net.<p>[1] <a href="https://github.com/cadadr/elisp/blob/master/forecast.el" rel="nofollow">https://github.com/cadadr/elisp/blob/master/forecast.el</a><p>[2] <a href="https://raw.githubusercontent.com/cadadr/elisp/master/forecast.el.png" rel="nofollow">https://raw.githubusercontent.com/cadadr/elisp/master/foreca...</a>
My favorite text-based weather report is definitely the "discussion" product from the National Weather Service. It gives some perspective, instead of just the numbers. Importantly, it commonly has a discussion of forecast confidence/uncertainty.<p>If you read it long enough, you'll start to pick up some of the 'why' in the weather.<p>Here's an example:<p><a href="https://forecast.weather.gov/product.php?site=NWS&issuedby=MTR&product=AFD&format=CI&version=1&glossary=1" rel="nofollow">https://forecast.weather.gov/product.php?site=NWS&issuedby=M...</a><p>I suppose you could curl it...
Video of wttr.in author's short talk about console oriented services at CCC/entropia's GPN18 conference two months ago:<p><a href="https://media.ccc.de/v/gpn18-164-using-and-creating-console-oriented-services-such-as-wttr-in-cheat-sh-rate-sx-etc-" rel="nofollow">https://media.ccc.de/v/gpn18-164-using-and-creating-console-...</a>
Nice. You can also get a little weather indicator based on your IP address in your tmux status bar. Sorry to push my own stuff, but many people have enjoyed this:<p><a href="https://jezenthomas.com/showing-the-weather-in-tmux/" rel="nofollow">https://jezenthomas.com/showing-the-weather-in-tmux/</a>
Alternative: finger and the Norwegian weather service YR - <a href="https://github.com/ways/pyyrascii" rel="nofollow">https://github.com/ways/pyyrascii</a>
If you are delivering software or hardware products that include weather forecast, do not rely on anyone else's API directly. Build a wrapper service and direct your clients there.<p>As a particularly disasterous example, the Yahoo Weather API was unchanged for the longest time. Integrators worldwide deployed thousands - no probably millions - of systems using an unofficial "Yahoo Weather Module". It was the canonical solution.<p>Then they made a breaking change to the API and everyone cried.
I like it (the usage of ascii chars to draw the weather, the usage of arrow for wind direction, the articulation on temperate with color)<p>The geolocation is off (as usual) because it uses the same DB as ipleak.net and others which is wrong for my (semi static) cable IPv4. I don't mind though, I just add some city.<p>It doesn't show well in a standard 80x25 terminal either, and that I do mind. That's my main issue with it.<p>So I ended up with:<p>n=0 ; while (( $n <= 72 )) ; date ; do curl wttr.in/~Amsterdam?0 ; sleep 1200 ; n=$(( n+1 )) ; done<p>Which grabs the weather every 20 min for 24 hours straight after which it has to be restarted. Not sure how it deals with laptop's suspend though.<p>watch -cn 1200 didn't work for me because while it does parse the ascii colors, it doesn't show them.<p>Since that hammers the servers though I'd write an alias for wttr.in/~Amsterdam?0 such as 'gcw' ("get current weather") or something like that.<p>Anyway, instead of having a dedicated terminal for this open (e.g. in Tmux) its probably better to queue for this every X minutes in Tmux statusbar as someone else suggested.<p>For now though I just use the KNMI application on Android though which gives a notification in the morning and evening about the weather (the evening one also describing the forecast for next day). Its basically as if watching the weather forecast on TV. I get the notification on my smartwatch as well (Pebble 2).<p>Also, this doesn't beat Android's Buienalarm push notification service which alerts you right before it is going to rain on current location plus locations you specified (home, work, family, etc)
Given that `curl` was initially created to make it easier to fetch currency rates for IRC, seems very apt for users to learn to use it for everyday things like checking the weather<p><a href="https://youtu.be/Lq2ksox21Eg?t=6m11s" rel="nofollow">https://youtu.be/Lq2ksox21Eg?t=6m11s</a>
Calling it on its own always returns the weather for Ottawa. Id expect it to use the requesting IP's location at the least. Using wttr.in/~LosAngeles returns the weather for "Rua Professora Maria Losângeles Navarro", a street in Brazil.
Very nice. But can't you adjust column width for mobile terminals.<p>docs: <a href="https://github.com/chubin/wttr.in/blob/master/README.md" rel="nofollow">https://github.com/chubin/wttr.in/blob/master/README.md</a>
oh no I think we maxed out the API calls.
"Sorry, we are running out of queries to the weather service at the moment.
Here is the weather report for the default city (just to show you, how it looks like).
We will get new queries as soon as possible."
I have curl installed on Windows 10... this is what I got:<p><a href="https://imgur.com/xOAUhOU" rel="nofollow">https://imgur.com/xOAUhOU</a><p>Well done Windows, well done. ;)<p><i>(Yes, I know why it looks crap)</i>