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

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

--

👋 Hi there 👋 all my content is free for Medium subscribers, if you are already a subscriber I just wanted to say thank you! 🎉 If not and you are considering subscribing, you can use my membership referral link, you will be supporting this and other high quality content, Thank you! ⭐️ Subscribe to Medium! ⭐️

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….

In a nutshell there is some data out there you want to get or access programmatically with a python script and this process can be divided into requesting, parsing and filtering a response...A bit on terminology :API: Application Programming Interface A specification that the data provider gives you so you can access and get their data, if they don't provide one the alternative is usually web scraping which we won't cover here.Endpoint: Where to send your request, usually some url like "https://api.dataprovider"Request: The act of…

--

--

Keno Leon
Keno Leon

No responses yet