Python: Working with REST and Web Data
1h 39mIntermediate2018-08-07
Authors

Joe Marini
Senior Developer Advocate at Google, Developer
Course details
Python is a powerful tool for working with data stored on web servers. In this course, Joe Marini demonstrates how to use Python to send, retrieve, and deliver web-based data to users. Learn how XML and JSON are used to store and exchange data, see how to use Python to retrieve XML and JSON data over the web, and find out how to parse that data using a range of different Python modules and features. Joe also shows how to fetch data from URLs and retrieve and send data via HTTP using the Python Requests library.
Learning objectives
Overview of XML and JSON
Retrieving and sending data over the internet
Handling errors
Using the Requests library to exchange data
Working with JSON data
Parsing XML data
XML DOM parsing
Learning objectives
Overview of XML and JSON
Retrieving and sending data over the internet
Handling errors
Using the Requests library to exchange data
Working with JSON data
Parsing XML data
XML DOM parsing
Skills covered
PythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Looking at Python, XML, JSON, and the web
- 02 - What you should know
1. Overview
- 03 - Working with internet data
- 04 - Quick overview of XML
- 05 - Quick overview of JSON
- 06 - Internet data Python modules
- 07 - Using httpbin.org
2. Accessing the Internet
- 08 - Introducing urllib
- 09 - Retrieving data
- 10 - Sending data with urllib
- 11 - Handling errors
- 12 - Drawbacks of urllib
3. Using the Requests Library
- 13 - Overview of the Requests library
- 14 - Retrieve and send data
- 15 - Handling errors
- 16 - Using authentication
4. Working with JSON
- 17 - The Python JSON module
- 18 - Parsing and serializing JSON
- 19 - JSON exception handling
- 20 - Requests and JSON
5. Simple XML Parsing
- 21 - XML parsing models
- 22 - The SAX API
- 23 - Using the xml.sax module
6. XML DOM Parsing
- 24 - The XML DOM
- 25 - Using xml.dom.minidom
- 26 - The ElementTree API
- 27 - Using lxml
Conclusion
- 28 - Next steps
Related courses
- Python for Data Science and Machine Learning Essential Training Part 1
- Artificial Intelligence Foundations: Neural Networks
- Build with AI: AI-Powered Dashboards with Streamlit
- Build with AI: LLM-Powered Data Analysis App with Python and Streamlit
- Complete Guide to Analytics Engineering
- Build with AI: LLM-Powered Applications with Streamlit
- Hands-On AI: Building Your First LLM-Powered App
- Advanced Geospatial Data Analytics in Python