Sitemap
The Pythoneers

Your home for innovative tech stories about Python and its limitless possibilities. Discover, learn, and get inspired.

Member-only story

Extracting data from a REST API using Python

9 min readMar 1, 2023

--

Press enter or click to view image in full size
Photo by Clément Hélardot on Unsplash

I want to show you how you can use Python’s module ‘requests’ to gather information from an API.

This can be very useful if you want to analyze data from a website or service that provides a REST API for developers to access.

I’ve been using this to gather data to practice my data analytics skills, and learning how it works opens several possibilities if you want to build a data analytics portfolio.

First, let’s cover a little bit of background about what is a REST API.

Press enter or click to view image in full size
Photo by Damien TUPINIER on Unsplash

What is an API and why you might want to use one?

Coincidentally, API is Italian for “bees”

API stands for Application Programming Interface, and, in the broadest sense, the term is used to describe a piece of software that allows other software programs to communicate.

It is, in fact, an interface.

Software that lets other software programs exchange information by providing a…

--

--

Luis Medina
Luis Medina

Written by Luis Medina

I'm a Mechanical Engineer who likes coding. I write about Data Science and Analytics, Programming, and Life. Sometimes hobby electronics and 3d printing.

The Pythoneers
The Pythoneers

Published in The Pythoneers

Your home for innovative tech stories about Python and its limitless possibilities. Discover, learn, and get inspired.