Skip to content

Instantly share code, notes, and snippets.

@asela38
Last active August 15, 2018 03:12
Show Gist options
  • Save asela38/28a59dd3175325569353885ad6c398fe to your computer and use it in GitHub Desktop.
Save asela38/28a59dd3175325569353885ad6c398fe to your computer and use it in GitHub Desktop.

curl -s "wttr.in"

Weather report: Singapore, Singapore

    \  /       Partly cloudy
  _ /"".-.     30-35 °C
    \_(   ).   ↑ 17 km/h
    /(___(__)  10 km
               4.0 mm
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Wed 15 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Patchy rain po…│  _`/"".-.     Patchy rain po…│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│   ,\_(   ).   29-34 °C       │   ,\_(   ).   30-35 °C       │  _ /"".-.     30-35 °C       │  _ /"".-.     29-33 °C       │
│    /(___(__)  ↖ 21-33 km/h   │    /(___(__)  ↖ 22-28 km/h   │    \_(   ).   ↖ 20-28 km/h   │    \_(   ).   ↖ 17-25 km/h   │
│      ‘ ‘ ‘ ‘  20 km          │      ‘ ‘ ‘ ‘  18 km          │    /(___(__)  18 km          │    /(___(__)  19 km          │
│     ‘ ‘ ‘ ‘   3.0 mm | 88%   │     ‘ ‘ ‘ ‘   0.8 mm | 79%   │               0.0 mm | 0%    │               0.0 mm | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Thu 16 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Patchy rain po…│  _`/"".-.     Patchy rain po…│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│   ,\_(   ).   29-34 °C       │   ,\_(   ).   31-36 °C       │  _ /"".-.     30-35 °C       │  _ /"".-.     29-33 °C       │
│    /(___(__)  ↖ 18-26 km/h   │    /(___(__)  ↖ 21-32 km/h   │    \_(   ).   ↖ 19-26 km/h   │    \_(   ).   ↖ 15-22 km/h   │
│      ‘ ‘ ‘ ‘  20 km          │      ‘ ‘ ‘ ‘  18 km          │    /(___(__)  18 km          │    /(___(__)  18 km          │
│     ‘ ‘ ‘ ‘   0.8 mm | 25%   │     ‘ ‘ ‘ ‘   2.5 mm | 76%   │               0.0 mm | 0%    │               0.0 mm | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Fri 17 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Patchy rain po…│  _`/"".-.     Patchy rain po…│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│   ,\_(   ).   29-33 °C       │   ,\_(   ).   30-34 °C       │  _ /"".-.     30-34 °C       │  _ /"".-.     29-33 °C       │
│    /(___(__)  ↖ 15-22 km/h   │    /(___(__)  ↑ 19-27 km/h   │    \_(   ).   ↖ 18-24 km/h   │    \_(   ).   ↖ 16-23 km/h   │
│      ‘ ‘ ‘ ‘  17 km          │      ‘ ‘ ‘ ‘  17 km          │    /(___(__)  19 km          │    /(___(__)  19 km          │
│     ‘ ‘ ‘ ‘   1.8 mm | 69%   │     ‘ ‘ ‘ ‘   1.5 mm | 70%   │               0.0 mm | 0%    │               0.0 mm | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘

New feature: multilingual location names wttr.in/станция+Восток (in UTF-8) and location search wttr.in/~Kilimanjaro (just add ~ before)
Follow @igor_chubin for wttr.in updates

Wtter.in code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment