Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

10.9: New York Times API and JavaScript - p5.js Tutorial

42.7K views
•
November 5, 2015
by
The Coding Train
YouTube video player
10.9: New York Times API and JavaScript - p5.js Tutorial

TL;DR

Learn how to utilize The New York Times API to access article information through an interactive website using HTML, CSS, and JavaScript.

Transcript

Hello. In this video, I'm going to look at The New York Times API, which is an API that you can query to get information about articles in The New York Times, shockingly. Quite a surprise. Yeah. So again, I'm not suggesting that this is the be all, end all of APIs to use, but this is a nice case study of finding an API that's out there, how do you ... Read More

Key Insights

  • 💁 Utilize The New York Times API to access article information programmatically.
  • 🔠 Request an API key to authenticate and access the API for free.
  • 😒 Use tools like p5.js to create interactive webpages that display API data dynamically.
  • 🧡 Explore various query parameters like search terms and date ranges to refine API queries.
  • 👨‍🔬 Consider adding user input features to dynamically change search terms without code modifications.
  • 📈 Leverage data from the API for advanced data analysis tasks like word frequency trends and comparative studies.
  • 👨‍🔬 Experiment with different search terms and parameters to explore the vast potential of The New York Times API.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How can you access The New York Times API for free?

To access The New York Times API for free, you need to sign up for an account, request an API key, and use it to make queries through their API tool.

Q: What are some advanced features of The New York Times API that can be utilized?

The API allows for querying based on specific search terms, date ranges, and even provides information on word frequency within articles, enabling advanced data analysis.

Q: How can you dynamically change the search term being used with The New York Times API?

By adding a text input field and a button to your webpage, users can enter a search term which can then be used to query the API dynamically without changing the code manually.

Q: What are some potential data analysis tasks that can be performed using The New York Times API?

Tasks like analyzing word frequency trends over the years or comparing the usage of different words in articles can be done utilizing the data obtained from The New York Times API.

Summary & Key Takeaways

  • Navigate The New York Times API documentation to understand its query structure.

  • Request and obtain an API key to access the API for free.

  • Use p5.js to create a webpage displaying headlines and snippets from articles based on search queries.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

9.4: Genetic Algorithm: Looking at Code - The Nature of Code thumbnail
9.4: Genetic Algorithm: Looking at Code - The Nature of Code
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
ITP/IMA Winter Show 2019 thumbnail
ITP/IMA Winter Show 2019
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.