Fetch Weather Data in Python using requests

Опубликовано: 08 Июнь 2026
на канале: 🇧🇩Duo Dev Logs
1,029
14

Fetch Weather Data in Python using requests

In this video, I have shown how to use requests package from python to fetch data from a URL, well in this case, a weather API. It works in a way that we have to input the name of a city and the whole weather data of that city for the current time will be fetched. So I had to pick some data from all the fetched data and print them.

Weather API website: https://openweathermap.org/api
The weather API BASE_URL: http://api.openweathermap.org/data/2....
Source Code: https://github.com/iamishraqhc/weathe...

I am Ishraq Haider Chowdhury. I am a software developer by profession. Currently I am residing in Bamberg, Germany to pursue my Masters Degree. I code whenever I want, whatever I see interesting. I am more into React.js, Node.js and Django. I am liking Java (Spring Boot) as well. I am actively posting on my social networks about coding and behind the scenes of coding. I would appreciate some support if you subscribe to this channel and follow me on my other social media. The links are given below:

My portfolio website ► https://ishraqportfolio.netlify.app
My Github account ► https://github.com/iamishraqhc
Join My Discord Server ►   / discord  
📸 My Instagram Page ►   / codewithishraq  
👍 My Facebook Page ►   / codewithishraq  
🐦My Twitter Page ►   / codewithishraq  
♪ My TikTok Page ►   / codewithishraq  
📌 My Pinterest Page ►   / codewithishraq  
▶️ My 2nd YouTube Channel ►    / venturetowardssuccess  
▶️ My Vlog Channel ► https://bit.ly/venturesoflife