No-Code New York Times API Data Scraping (Still Works in 2024)

Опубликовано: 10 Октябрь 2024
на канале: Stevesie Data
1,045
9

👉 Scrape the New York Times Data API: https://stevesie.com/apps/new-york-ti...

Official New York Times Developer Site: https://developer.nytimes.com/

Medium Articles:
  / using-new-york-times-api-and-jq-to-collect...  
  / starting-to-use-the-nytimes-api-and-diving...  
https://towardsdatascience.com/collec...

The New York Times is a leading news & media outlet, publishing high-quality and trustworthy news articles that are not subject to the "echo chamber" bias we find on large social media sites. The Times also offers a free API we can use to scrape historical content about news articles from the past, spanning over 100 years. We can use this API to track previous elections and other major news events and how they were covered.

In this video we'll go over how to scrape large CSV files from The New York Times' API using the Stevesie Data Platform, and we'll then perform some basic keyword analysis on the 2020 election using Pandas. #newsanalysis #history #politics

0:00 Why Scrape Articles from The New York Times
1:25 Video Outline & Sales Pitch for Stevesie Data to Scrape Historical NY Times Data
2:14 Getting Started with the NY Times API & Getting an API Key
3:00 New York Times Article Search API Example & JSON Response
3:41 Stevesie Data Wrapper around NY Times Article Search Endpiont
5:22 Pagination for Article Search to Scrape Bulk Historical Data
7:41 Light Data Analysis of 2020 U.S. Presidential Election Coverage
9:30 Thoughts & Conclusions