In this chapter, we will look at ways we can extract data and files from the Internet using a range of data formats and services, namely web services (or Application Protocol Interfaces (APIs)) using the Extensible Markup Language (XML) and JavaScript Object Notation (JSON) data formats.
We will also look at how we can use Python to download files and extract information from web pages for when a website does not offer an API to access their data.