The New York Times is an American daily newspaper which features top articles across many sections, including politics, technology, and opinion.
Go to siteThe New York Times API offers a variety of endpoints to access different types of news and information. With Pipedream, you can tap into this wealth of data to automate tasks, enrich applications with the latest news, or even analyze trends. Workflows on Pipedream triggered by NYT's API can range from sending daily news briefings to your communication platform, to analyzing article metadata for SEO research, or even keeping track of the most popular stories for content curation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
new_york_times: {
type: "app",
app: "new_york_times",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.nytimes.com/svc/topstories/v2/arts.json`,
params: {
"api-key": `${this.new_york_times.$auth.api_key}`,
},
})
},
})
Daily News Digest to Slack: Automatically fetch the top stories from New York Times every day and post them to a Slack channel, keeping your team informed on the latest news without leaving their workspace.
SEO Trend Analysis: Analyze article metadata and trending topics from NYT to identify popular keywords and subjects, providing valuable insights for content creation and SEO strategy.
Content Curation for Social Media: Monitor specific sections or topics in the NYT, curate a list of articles, and share them on social media platforms like Twitter, helping to position yourself or your brand as a thought leader in your chosen field.
New York Times uses API keys for authentication. When you connect your New York Times account, Pipedream securely stores the keys so you can easily authenticate to New York Times APIs in both code and no-code steps.