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

Опубликовано: 12 Сентябрь 2024
на канале: Ethan | The Code Syndicate
56
3

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:
Current weather API:
Geocoding API:

GitHub:

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?!)