ytmusic_api_unofficial
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

Ytmusic API

Disclaimer

this module is under development and is not yet ready for a production use.
If you want to help me, you can contact me on Instagram

Description

A simple, easy to use API for YouTube Music. You can:

  • Search for songs, video
  • Download songs and video in the highest quality
  • Fast, easy to use and no ads
  • Get popular songs from trending charts

You can soon:

  • Get albums, artists, playlists, and more
  • Get lyrics
  • And more...

Installation

npm install ytmusic_api_unofficial

Examples

const {searchManager,downloadManager} = require('ytmusic_api_unofficial')

// Return a list of songs with the name 'hello'
searchManager.search('hello', 'MUSIC').then((result) => {
    console.log(result);
});

// Return a song by id
searchManager.get('ID').then((result) => {
    console.log(result);
});

// Download a song by id
downloadManager.download('ID', 'mp3', high).then((result) => {
    console.log(result);
});

Make By Alexis06030631

Package Sidebar

Install

npm i ytmusic_api_unofficial

Weekly Downloads

7

Version

1.3.3

License

MIT

Unpacked Size

205 kB

Total Files

144

Last publish

Collaborators

  • alexis06030631