-
Create your React app in
VSCode
as mentioned in the previous React ProjectLogin-SignUp-page-using-React
-
Get the Weather API from
openweathermap
-
Integrate it into your
.jsx
file -
Install the
Thunder Client
extension on your VSCode workspace -
Using this extension, we can see the response data coming from the API
-
Now go to
openweathermap api
in the browser search bar and get theapi doc
ofCurrent Weather Data
-
Copy the
url
from theExamples of API calls
section at the bottom of the page and paste it in theThunder Client GET
section -
Get your previously copied
API key
and paste it in the place of{API Key}
in theurl
. -
To get the temperature in
celsius
instead of kelvin, add&units=Metric
in theAPI request url
after the city name. -
Now use this modified url in your .jsx file for further functioning.
-
Notifications
You must be signed in to change notification settings - Fork 0
Pragna235/REACT_Project_Weather_App
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published