erela.js-apple
v1.2.6
Published
Apple Music plugin for Erela.JS
Downloads
1,595
Readme
What is this ?
This a plugin for Erela.JS to allow the use of AppleMusic URL's, it uses direct URL's being tracks, albums, and playlists and gets the YouTube equivalent.
https://music.apple.com/mx/album/happier-than-ever/1564530719
https://music.apple.com/es/album/anymore/1444563557?i=1444563560
https://music.apple.com/us/playlist/todays-hits/pl.f4d106fed2bd41149aaacabb233eb5eb
Installation
NPM :
npm install erela.js-apple
Example Usage
const { Manager } = require("erela.js");
const AppleMusic = require("erela.js-apple");
const manager = new Manager({
plugins: [
// Initiate the plugin
new AppleMusic()
]
});
manager.search("https://music.apple.com/mx/album/happier-than-ever/1564530719");