Photo by Francesco Ungaro: https://www.pexels.com/photo/low-angle-photography-of-tunnel-96381/

Member-only story

Quick guide on working with Data APIs in Python

Make molehills out of mountains and get the data you need.

Keno Leon
7 min readMay 13, 2022

--

Making API requests, parsing and filtering responses is one of those cool things one can easily do in python ( and other languages ), but it can seem inaccesible when you are starting out, so here’s my attempt at a quick overview and guide to working with data APIs in Python….

Requesting Data.

With Requests : There are basically 2 ways of requesting API data in Python, the first one is via some endpoint and a http request (usually using the popular requests library), here’s one such example :

--

--

Keno Leon
Keno Leon

No responses yet

Write a response