-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
Usage: | ||
|
||
$ curl wttr.in # current location | ||
$ curl wttr.in/muc # weather in the Munich airport | ||
|
||
Supported location types: | ||
|
||
/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 | ||
|
||
Moon phase information: | ||
|
||
/moon # Moon phase (add ,+US or ,+France for these cities) | ||
/moon@2016-10-25 # Moon phase for the date (@2016-10-25) | ||
|
||
Units: | ||
|
||
m # metric (SI) (used by default everywhere except US) | ||
u # USCS (used by default in US) | ||
M # show wind speed in m/s | ||
|
||
View options: | ||
|
||
0 # only current weather | ||
1 # current weather + today's forecast | ||
2 # current weather + today's + tomorrow's forecast | ||
A # ignore User-Agent and force ANSI output format (terminal) | ||
F # do not show the "Follow" line | ||
n # narrow version (only day and night) | ||
q # quiet version (no "Weather report" text) | ||
Q # superquiet version (no "Weather report", no city name) | ||
T # switch terminal sequences off (no colors) | ||
|
||
PNG options: | ||
|
||
/paris.png # generate a PNG file | ||
p # add frame around the output | ||
t # transparency 150 | ||
transparency=... # transparency from 0 to 255 (255 = not transparent) | ||
background=... # background color in form RRGGBB, e.g. 00aaaa | ||
|
||
Options can be combined: | ||
|
||
/Paris?0pq | ||
/Paris?0pq&lang=fr | ||
/Paris_0pq.png # in PNG the file mode are specified after _ | ||
/Rome_0pq_lang=it.png # long options are separated with underscore | ||
|
||
Localization: | ||
|
||
$ curl fr.wttr.in/Paris | ||
$ curl wttr.in/paris?lang=fr | ||
$ curl -H "Accept-Language: fr" wttr.in/paris | ||
|
||
Supported languages: | ||
|
||
FULL_TRANSLATION (supported) | ||
PARTIAL_TRANSLATION (in progress) | ||
|
||
Special URLs: | ||
|
||
/:help # show this page | ||
/:bash.function # show recommended bash function wttr() | ||
/:translation # show the information about the translators | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
: Fortes pluies et orages de grêle : Heavy rain and hail with thunderstorm | ||
: Fortes pluies orageuses : Heavy rain with thunderstorm | ||
: Orages de pluie et grêle légères : Light rain and hail with thunderstorm | ||
: Pluie légère et averses : Light rain and snow shower | ||
: Pluies légères orageuses : Light rain with thunderstorm | ||
: Chutes de neige légères : Light snow shower | ||
: Nappes de brouillard : Partial fog | ||
: Orage de pluie et de grêle : Rain and hail with thunderstorm | ||
: Pluies orageuses : Rain with thunderstorm | ||
: Brouillard léger : Shallow fog | ||
: Brume : Smoke | ||
: Grains : Squalls | ||
: Orages proches : Thunderstorm in vicinity | ||
: Neige : Snow | ||
: Pluie : Rain | ||
: Pluie légère, Averses : Light Rain, Rain Shower | ||
: Averses : Rain Shower | ||
: Nappes de brouillard : Patches of fog | ||
: Bruine : Drizzle | ||
: Bruine légère : Light drizzle | ||
: Chasse-neige basse : Low drifting snow | ||
: Pluie et neige légères : Light rain and snow | ||
: Averses proches : Shower in vicinity | ||
: Pluie et orages : Rain with thunderstorm | ||
: Averse de pluie et neige mêlées : Rain and snow shower | ||
: Orage : Thunderstorm | ||
: Bruine et pluie : Drizzle and rain | ||
: Orage de grêle : Hail with thunderstorm | ||
: Brume : Haze | ||
: Bruine legère et pluie : Light drizzle and rain | ||
: Orage, pluie légère et grèle / neige roulée : Light rain and small hail/snow pallets with thunderstorm | ||
113 : Temps clair : Clear | ||
113 : Ensoleillé : Sunny | ||
116 : Partiellement couvert : Partly cloudy | ||
119 : Nuageux : Cloudy | ||
122 : Couvert : Overcast | ||
143 : Brumeux : Mist | ||
176 : Pluies éparses possibles : Patchy rain possible | ||
179 : Chutes de neige éparses possibles : Patchy snow possible | ||
182 : Chutes éparses de neige fondue possibles : Patchy sleet possible | ||
185 : Bruines givrantes éparses possibles : Patchy freezing drizzle possible | ||
200 : Orages possibles : Thundery outbreaks possible | ||
227 : Poudrerie : Blowing snow | ||
230 : Blizzard : Blizzard | ||
248 : Brouillard : Fog | ||
260 : Brouillard givrant : Freezing fog | ||
263 : Bruines éparses et légères : Patchy light drizzle | ||
266 : Bruine légère : Light drizzle | ||
281 : Bruine givrante : Freezing drizzle | ||
284 : Forte bruine givrante : Heavy freezing drizzle | ||
293 : Pluies éparses et légères : Patchy light rain | ||
296 : Pluie légère : Light rain | ||
299 : Pluie modérée intermittente : Moderate rain at times | ||
302 : Pluie modérée : Moderate rain | ||
305 : Forte pluie intermittente : Heavy rain at times | ||
308 : Forte pluie : Heavy rain | ||
311 : Pluie verglaçante légère : Light freezing rain | ||
314 : Pluie verglaçante modérée à forte : Moderate or heavy freezing rain | ||
317 : Chutes légères de neige fondue : Light sleet | ||
320 : Chutes de neige fondue modérées à fortes : Moderate or heavy sleet | ||
323 : Chutes de neige éparses et légères : Patchy light snow | ||
326 : Chutes de neige légères : Light snow | ||
329 : Chutes de neige éparses et modérées : Patchy moderate snow | ||
332 : Chutes de neige modérées : Moderate snow | ||
335 : Fortes chutes de neige éparses : Patchy heavy snow | ||
338 : Fortes chutes de neige : Heavy snow | ||
350 : Grésil : Ice pellets | ||
353 : Averses légères : Light rain shower | ||
356 : Averses modérées à fortes : Moderate or heavy rain shower | ||
359 : Averses torrentielles : Torrential rain shower | ||
362 : Averses légères de neige fondue : Light sleet showers | ||
365 : Averses de neige fondue modérées à fortes : Moderate or heavy sleet showers | ||
368 : Averses de neige légères : Light snow showers | ||
371 : Averses de neige modérées à fortes : Moderate or heavy snow showers | ||
386 : Pluies orageuses légères et éparses : Patchy light rain with thunder | ||
389 : Pluies orageuses modérées à fortes : Moderate or heavy rain with thunder | ||
392 : Chutes de neige orageuses légères et éparses : Patchy light snow with thunder | ||
395 : Chutes de neige orageuses modérées à fortes : Moderate or heavy snow with thunder |