Chapter 12. Crawling Through APIs
The problem is that, when you have a âhammerâ as powerful and effective as Selenium, every web scraping problem starts to look a lot like a nail.
A Brief Introduction to APIs
Although countless books, talks, and guides have been written about the intricacies of REST, GraphQL, JSON, and XML APIs, at their core they are based on a simple concept. An API defines a standardized syntax that allows one piece of software to communicate with another piece of software, even though they might be written in different languages or otherwise structured differently.
This section focuses on web APIs (in particular, APIs that allow a web server to communicate to a browser) and uses the term API
Get Web Scraping with Python, 2nd 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.