easy-youtube-info
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

easy-youtube-info

Install

Stable version:

npm install easy-youtube-info

Unstable version:

npm install AvengerSuicide/easy-youtube-info

Usage

const youtubeInfo = require('easy-youtube-info');

youtubeInfo.searchSong('song name') // i hate u
youtubeInfo.getSongByID('song id') // BiQIc7fG9pA
youtubeInfo.getSongByURL('song url') // https://www.youtube.com/watch?v=BiQIc7fG9pA

Functions Options

youtubeInfo.searchSong('song name', [options])

  • moreResults - If you should get more than one result, should be written with a boolean value. true or false
  • size - The amount of results that should be obtained, being read only if moreResults is 'true'. number

youtubeInfo.getSongByID('song id', [options])

  • lang - The 2 character symbol of a language. Default is en.

youtubeInfo.getSongByURL('song id', [options])

  • lang - The 2 character symbol of a language. Default is en.

Readme

Keywords

none

Package Sidebar

Install

npm i easy-youtube-info

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

13.5 kB

Total Files

10

Last publish

Collaborators

  • avengersuicide