How do I take input from a weather forecast | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I take input from a weather forecast

Taking input

22nd Sep 2020, 1:54 PM
Evans Frimpong
Evans Frimpong - avatar
4 Answers
+ 3
You can use their API (or just scrape it if they don't have one) to get the data, then you can compare that data and alert if necessary
22nd Sep 2020, 2:26 PM
Bagon
Bagon - avatar
+ 2
Here look at example, how the data is fetched from a website and used in a code to display.. https://code.sololearn.com/cF5AjbeOvLTA/?ref=app
22nd Sep 2020, 2:30 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 1
name = None as in if the weather indicates rainfall let's say 20 degrees then I create an alert for it
22nd Sep 2020, 2:23 PM
Evans Frimpong
Evans Frimpong - avatar
0
name = None I want to take the weather data and add a response like an alert to it
22nd Sep 2020, 2:05 PM
Evans Frimpong
Evans Frimpong - avatar