Alexis06030631 / yt_music_api

A simple, easy to use API for YouTube Music.
https://alexis06030631.github.io/yt_music_api/
6 stars 0 forks source link
api documentation javascript music object-oriented typescript youtube

Documentation available here

Ytmusic API

Disclaimer

this module is under development.
If you want to help me, you can contact me on Instagram

Description

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

Installation

npm install ytmusic_api_unofficial

Examples

const ytmusic = require('ytmusic_api_unofficial')

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

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

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

Make By Alexis06030631