Summary
Web APIs provide many benefits for finding and scraping data. Because of the predefined format of data returned by APIs, you don’t need to perform additional query-related tasks using XPath or CSS selectors, which saves time. Web APIs are structured, easily accessible, filterable, and ready to exchange data between machines, platforms, and protocols.
In the next chapter, we will be learning about automation using Selenium, and we will use it to scrape data.