How to get(CLOUD) Weather Reprot from Server(CURL)

How to get cloud weather details from ubuntu:
=================================

curl wttr.in/?n2

ubuntu@ip-172-31-2-125:~$ curl wttr.in/india?n2
Weather report: New Delhi, India

               Haze
  _ - _ - _ -  71-75 °F
   _ - _ - _   ← 10 mph
  _ - _ - _ -  2 mi
               0.0 in
                        ┌─────────────┐
┌───────────────────────┤  Mon 18 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │  _`/"".-.     Patchy light r…│
│  _ /"".-.     73-75 °F       │   ,\_(   ).   66 °F          │
│    \_(   ).   ↑ 4-5 mph      │    /(___(__)  ← 8-13 mph     │
│    /(___(__)  12 mi          │     ⚡‘‘⚡‘‘  11 mi          │
│               0.0 in | 0%    │     ‘ ‘ ‘ ‘   0.0 in | 25%   │
└──────────────────────────────┴──────────────────────────────┘
                        ┌─────────────┐
┌───────────────────────┤  Tue 19 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │  _`/"".-.     Light rain sho…│
│  _ /"".-.     73-77 °F       │   ,\_(   ).   71 °F          │
│    \_(   ).   ← 8-9 mph      │    /(___(__)  ← 9-13 mph     │
│    /(___(__)  12 mi          │      ‘ ‘ ‘ ‘  12 mi          │
│               0.0 in | 0%    │     ‘ ‘ ‘ ‘   0.0 in | 23%   │
└──────────────────────────────┴──────────────────────────────┘

Follow @igor_chubin for wttr.in updates
ubuntu@ip-172-31-2-125:~$ curl wttr.in/chennai?n2
Weather report: Chennai, India

    \  /       Partly cloudy
  _ /"".-.     84-95 °F
    \_(   ).   ← 13 mph
    /(___(__)  3 mi
               0.0 in
                        ┌─────────────┐
┌───────────────────────┤  Mon 18 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│  _ /"".-.     87-95 °F       │  _ /"".-.     82-87 °F       │
│    \_(   ).   ↖ 11-13 mph    │    \_(   ).   ↖ 10-16 mph    │
│    /(___(__)  11 mi          │    /(___(__)  12 mi          │
│               0.0 in | 52%   │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┘
                        ┌─────────────┐
┌───────────────────────┤  Tue 19 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│  _ /"".-.     87-93 °F       │  _ /"".-.     80-86 °F       │
│    \_(   ).   ↖ 10-12 mph    │    \_(   ).   ← 9-13 mph     │
│    /(___(__)  12 mi          │    /(___(__)  12 mi          │
│               0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┘

Follow @igor_chubin for wttr.in updates
ubuntu@ip-172-31-2-125:~$ curl wttr.in/hyderabad?n2
Weather report: Hyderabad, India

    \  /       Partly cloudy
  _ /"".-.     84-86 °F
    \_(   ).   ↖ 3 mph
    /(___(__)  3 mi
               0.0 in
                        ┌─────────────┐
┌───────────────────────┤  Mon 18 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│  _ /"".-.     87-89 °F       │  _ /"".-.     84 °F          │
│    \_(   ).   ← 5-6 mph      │    \_(   ).   ← 6-7 mph      │
│    /(___(__)  12 mi          │    /(___(__)  12 mi          │
│               0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┘
                        ┌─────────────┐
┌───────────────────────┤  Tue 19 Feb ├───────────────────────┐
│             Noon      └──────┬──────┘      Night            │
├──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │    \  /       Partly cloudy  │
│  _ /"".-.     89 °F          │  _ /"".-.     84 °F          │
│    \_(   ).   ↖ 8-9 mph      │    \_(   ).   ← 12-16 mph    │
│    /(___(__)  12 mi          │    /(___(__)  12 mi          │
│               0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┘

Follow @igor_chubin for wttr.in updates
ubuntu@ip-172-31-2-125:~$


Comments

Popular posts from this blog

How to run Jenkins on Docker container | How to create Jenkins Volumes on Docker

POWERSHELL

Building game of life container