1.2.8 • Published 7 months ago

youtube-search-api-ts v1.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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)
1.2.8

7 months ago

1.2.7

7 months ago

1.2.6

7 months ago

1.2.5

7 months ago

1.2.4

8 months ago

1.2.3

8 months ago

1.2.2

8 months ago