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

ytmusic_api_unofficial

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ytmusic_api_unofficial

A simple API to get music from YouTube Music

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-83.33%
Maintainers
0
Weekly downloads
 
Created
Source

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:

  • 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
  • Get albums, artists, playlists, and more
  • Get lyrics
  • And more...

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

Keywords

FAQs

Package last updated on 14 Sep 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