Python GET Request to API | Using Python Requests Library [2024]

Publié le: 18 mai 2024
sur la chaîne: Ethan | The Code Syndicate
298
4

In this video, you'll learn how to perform GET requests in Python using the requests library. We'll walk you through the process of sending HTTP GET requests, handling JSON responses, and working with data from various APIs.

OpenWeatherMap: https://openweathermap.org/api
Current weather API: https://openweathermap.org/current
Geocoding API: https://openweathermap.org/api/geocod...

GitHub: https://github.com/MasterReach1/pytho...

Timeline:
00:00 What is a GET request?
00:20 Example API setup
01:50 Create GET request
02:52 Explaining call URL
03:51 Status codes
04:40 Working with JSON formatting
05:33 Setting lat and lon
06:05 Challenge (pause the video here)
06:47 Challenge answer
08:55 Outro (Discord server?!)


Sur cette page du site, vous pouvez voir la vidéo en ligne Python GET Request to API | Using Python Requests Library [2024] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ethan | The Code Syndicate 18 mai 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 298 fois et il a aimé 4 téléspectateurs. Bon visionnage!