Show The Local Weather

Show The Local Weather
0

#1

My question is on Intermediate Front End Developmental Projects. How do you call the local weather from a website?


#2

Using Open Weather API you make a GET request to get the weather for your current location and if you want you can also get the weather for other states too.


#3

You can actually use any other weather APIs, there is a few out there, it’s worth checking them out.


#4

What code do you use to get the data from the website, after you know what URL to type in?


#5

You would use the $get(“url”, function(data){
// code to handle the response that you get from the api
})