7

Data Extraction Using Web APIs

So far, we have learned about the web, web-based technologies, techniques for locating and extracting data, and plenty of data-related services in various chapters of this book.

Web application programming interfaces (APIs) are built to interact with queried information. Web APIs provide interfaces to query and access formatted data (normally in JSON format) or structured data that is easy to use and process. Depending on the type of information (HTTP POST payload, JSON content, third-party authentication, collective metadata, or middleware, for example) being carried and the type of service being engaged with, authentication and some form of tokenization are also required.

In general, a web API is a medium for ...

Get Hands-On Web Scraping with Python - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.