Reading Data from APIs with Python

Master Python skills for gathering and cleaning data from APIs!

APIs (Application Programming Interfaces) are pre-built functions and rules that determine how two computers or programs communicate with each other. While this is commonly used to transfer data between them, data from the real world is rarely presented in a way that is perfect for analysis. As such, knowing how to properly extract and clean data is an integral skill for all data scientists.

This course will walk you through how to use Python to retrieve and parse data through the powerful tools provided by APIs. You’ll learn techniques for multiple different file types, and explore how you can manipulate your parsed data to suit your specific needs.

No matter your goals, understanding this aspect of data retrieval will give you a better grasp of how data is often transferred and let you navigate the world more informed.

This course assumes familiarity with Python and Jupyter Notebook. You will also need BeautifulSoup installed.

You will learn how to:

  • Understand what APIs are
  • Make URL requests to retrieve data
  • Format and parse JSON data
  • Work with XML data using BeautifulSoup
  • Write data to a CSV file
  • Read data from a local file

…and more!

Courses by the World’s Best 

Our course instructors aren’t just fun to learn from – they’re qualified coders who have been formally certified for their excellent programming and teaching skills. That way, you can be confident that you’re developing strong, modern skills that will set you up for success as a developer.


Learn with project-based courses that are designed to be flexible – access them 24/7, fit them around your schedule, and choose the learning materials that suit you best.

With an online platform optimized for all modern devices, you can even learn on the go!

✅ Watch video lessons

✅ Read text summaries

✅ Explore interactive lessons

✅ Practice with source code

✅ Build real projects

✅ Earn completion certificates


Our community of 1,000,000+ learners and developers have used the skills learned with us to publish their own games and websites, land their dream jobs, and even start their own businesses – and you have the potential to do the same!

Check out what our learners think below:



I love the lectures, concise course objectives, and how they not only teach you enough to get started, but prepare you for the advanced stuff later down the road.



With Zenva, I started learning a more accurate way to approach problems and develop solutions. It’s full of interesting topics that I love to learn in conjunction with my work.



I chose Zenva because of the large selection of topics and the fact that I can choose what courses I want to take whenever I want to take them. That level of freedom is unique to Zenva.



The Unity courses at Zenva helped me achieve a level of comfort with game development that I didn’t think was possible. They give you the confidence to expand your skills, and were so easy to understand.

Basic knowledge of Python and Jupyter Notebook. You must also have BeautifulSoup installed.

Tools and Frameworks

Python 3.6, Anaconda 5.2, Jupyter Notebook 5.5, Beautiful Soup 4.6

Don't miss out! Offer ends in

Buy Now For $50

OR access ALL Zenva courses with our subscription.

  • Access all 250+ courses
  • New courses added monthly
  • Cancel anytime
  • Certificates of completion


ZENVA'S SPRING SALE - Get your first week for $1! Claim Offer
Don't miss out! Offer ends inClose Countdown