Skip to content

weather

Weather

See wttr.in/:help

PARAMETER DESCRIPTION
location

TYPE: str

language

Show weather information in this language

TYPE: str DEFAULT: None

narrow

Show only day and night

TYPE: bool DEFAULT: False

metric

Show units using the metric system (SI) (used by default everywhere except US)

TYPE: bool DEFAULT: None

speed_in_m_s

Show wind speed in m/s

TYPE: bool DEFAULT: False

today_forecast

Show current weather and today forecast

TYPE: bool DEFAULT: False

tomorrow_forecast

Show current weather, today forecast and tomorrow forecast. If True, today_forecast will be ignored.

TYPE: bool DEFAULT: False

quiet

Be quiet: no "Weather report" text

TYPE: bool DEFAULT: True

show_city

Super quiet: hide city name. Requires "quiet=True"

TYPE: bool DEFAULT: False

no_colors

Disable colored output

TYPE: bool DEFAULT: False

console_glyphs

If true disables use of advanced terminal features like emojis.

TYPE: bool DEFAULT: False

**kwargs

TYPE: Any DEFAULT: {}

Supported location types

Example Description
paris city name
~Eiffel+tower any location (+ for spaces)
Москва Unicode name of any location in any language
muc airport code (3 letters)
@stackoverflow.com domain name
94107 area codes
-78.46,106.79 GPS coordinates

Location also supports moon phase information:

Example Description
moon Moon phase (add ,+US or ,+France for these cities)
moon@2016-10-25 Moon phase for the date (@2016-10-25)

Warning

Refer to wttr.in documentation for updated supported location types.