【文件属性】:
文件名称:youtube-music-api:Node.js非官方的YouTube音乐API
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-12 02:36:26
JavaScript
youtube-music-api
非官方的YouTube音乐API
安装
npm install youtube-music-api
例子
const YoutubeMusicApi = require ( 'youtube-music-api' )
const api = new YoutubeMusicApi ( )
api . initalize ( ) // Retrieves Innertube Config
. then ( info => {
api . getSearchSuggestions ( "ne deve ne kush" ) . then ( result => {
/*[
'ne deve ne kush',
'ne deve ne kush canlı',
'ne deve ne kush lyrics',
'ne