Fetch Data From the New York Times API and Render Using SSG
As I’m sure you know, Gatsby is absolutely brills for statically generating web pages using any type of data from any kind of data source. In this post I’ll be explaining how to fetch data from the New York Times Archive API and using two of Gatsby’s built in methods to add the data to Gatsby’s global data layer.
Paul Scanlon • December 9th, 2021# data-sourcing, Static Site Generation