chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.01k stars 1.08k forks source link

Add single line output code for `WeatherCode` #995

Open ashafq opened 1 month ago

ashafq commented 1 month ago

Feature request

I would like to request a new feature for the wttr.in service to support a single line output format that includes only the WeatherCode value. This would greatly benefit users who need a compact and efficient way to retrieve the weather condition code without additional data, which is especially useful for applications with limited memory resources, such as IoT devices and microcontrollers.

Example Usage

Request URL:

https://wttr.in/?format=%z

Example Response:

113