rajjoshi80/wttr.in

The right way to check the weather

โญ 0 stars๐Ÿ’ฌ 0 comments

Files

๐Ÿ“ .github
๐Ÿ“„ .gitignore67 B
๐Ÿ“„ .golangci.yaml412 B
๐Ÿ“„ Dockerfile1.2 KB
๐Ÿ“„ LICENSE11.1 KB
๐Ÿ“„ Makefile124 B
๐Ÿ“„ README.md24.7 KB
๐Ÿ“„ build.sh6.8 KB
๐Ÿ“ doc
๐Ÿ“„ go.mod2 KB
๐Ÿ“„ go.sum18.8 KB
๐Ÿ“ internal
๐Ÿ“„ main.go5.8 KB
๐Ÿ“ share
๐Ÿ“ test

README

*wttr.in โ€” the right way to ~check~ `curl` the weather!* wttr.in is a console-oriented weather forecast service that supports various information representation methods like terminal-oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget), HTML for web browsers, or PNG for graphical viewers. Originally started as a small project, a wrapper for [wego](https://github.com/schachmat/wego), intended to demonstrate the power of the console-oriented services, *wttr.in* became a popular weather reporting service, handling tens of millions[ยน](#wttrin-usage-stats) of queries daily. You can see it running here: [wttr.in](https://wttr.in). [Documentation](https://wttr.in/:help) | [Usage](https://github.com/chubin/wttr.in#usage) | [One-line output](https://github.com/chubin/wttr.in#one-line-output) | [Data-rich output format](https://github.com/chubin/wttr.in#data-rich-output-format-v2) | [Map view](https://github.com/chubin/wttr.in#map-view-v3) | [Output formats](https://github.com/chubin/wttr.in#different-output-formats) | [Moon phases](https://github.com/chubin/wttr.in#moon-phases) | [Internationalization](https://github.com/chubin/wttr.in#internationalization-and-localization) | [Installation](https://github.com/chubin/wttr.in#installation) ## Usage You can access the service from a shell or from a Web browser like this: $ curl wttr.in Weather for City: Paris, France \ / Clear .-. 10 โ€“ 11 ยฐC โ€• ( ) โ€• โ†‘ 11 km/h `-โ€™ 10 km / \ 0.0 mm Here is an example weather report: ![Weather Report](share/pics/San_Francisco.png) Or in PowerShell: ```PowerShell Invoke-RestMethod https://wttr.in ``` Want to get the weather information for a specific location? You can add the desired location to the URL in your request like this: $ curl wttr.in/London $ curl wttr.in/Moscow $ curl wttr.in/Salt+Lake+City If you omit the location name, you will get the report for your current
SocialRepo
Login

loading/repo...

Latest Updates

Discussion