6 ms·
You can run `curl wttr.in` to get your local weather and 3-day forecast. Or just go to http://wttr.in/ http://wttr.in/
by sillysaurus3 10y ago
You can run `curl wttr.in` to get your local weather and 3-day forecast.
Or just go to http://wttr.in/ http://wttr.in/
- Cyph0n 10y agoCan we get the temperature in degC?
- mmozeiko 10y agohttp://wttr.in/?m http://wttr.in/?m For other options see http://wttr.in/:help http://wttr.in/:help
- ausjke 10y agotried that, how handy!
- kfrzcode 10y agoI love this webservice. Nothing else to add, just my love.
- BatFastard 10y agoAwesome! Kudos. Now if they could sneak in an animated weather map...
- fsasieta 10y agoyou have changed my life
- kbenson 10y agoHmm. "Weather for City: Santa Rosa, Philippines" That's the wrong Santa Rosa, in the wrong country. There's an interesting bug in there somewhere.
- deleted 10y ago[deleted]
- scottmf 10y ago> Get city by IP address > Search weather for city
- ChoGGi 10y agoIt accepts airport codes, so you can use the one for Sonoma County Airport (assuming it's close by enough). http://wttr.in/sts http://wttr.in/sts
- SiVal 10y agoTO THE DEVELOPER, FWIW: I'm also in California and it thinks I'm in the Philippines in a town with the same name as one a few miles from here. I assume you use IP to find town, country; throw away country; look up town in a list with country names in alphabetical order (Philippines < United States) Note that even if you get the country right it won't be enough, because there is a "Springfield" in each of the 50 states. You'll have to get keep all of the location info you get from the IP lookup, not throw part of it away and attempt to recover it.
- sillysaurus3 10y agoAs a workaround, you can use your zip code instead. E.g. http://wttr.in/90401 http://wttr.in/90401
- kuschku 10y agoDoesn’t work with German ZIP codes: http://wttr.in/24107 http://wttr.in/24107 or ISO ZIP codes: http://wttr.in/D-24107 http://wttr.in/D-24107
- niij 10y agoThanks for the helpful link!
- vikrantvm 10y agoThis is great. Hope the dev fixes location detection! Weather from the terminal, woot
- majewsky 10y agoLocation detection is notoriously hard. For example, my auto-detected location is 500 km off because of the corporate HTTP proxy.
- Fiahil 10y agoAs mentioned above, you can explicitly specify cities and locations in multiple ways. Chances are, it uses the GMap api (or similar), so you can input pretty much anything resembling a location description. Not sure there is something to fix :)
- robertcorey 10y agoneat, thanks for the tip.