Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtube-search-api-ts

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-search-api-ts

typescript version of youtube-search-api. Node.js easy to get Youtube results with playlist by provided keywords, no Login or API key required!

  • 1.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Youtube Search API

  • This is a typescript version of https://www.npmjs.com/package/youtube-search-api.

How to use

  • Install package
npm install youtube-search-api-ts
  • Search
import { NextPage, YoutubeSearchApi } from "youtube-search-api-ts"
const api = new YoutubeSearchApi()

// Search
const output1 = await api.search("cat", true, 2, [{ type: "video" }])

// Fetch subsequent pages
const output2 = await api.getNextPage(output1.nextPage, true, 2)

const output3 = await api.getNextPage(output2.nextPage, true, 2)

Keywords

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc