1.0.5 • Published 3 years ago

spotitube v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

SpotiTube

A Converter That Will Convert Your Spotify To YT with LavaLink.

Discord Github Stars GitHub issues

Created by the Grace Bot Dev Team

Features

✅ Stable

✅ Straightforward

✅ Works with Lavalink

✅ Works with any Spotify Link

Installation

NPM (Stable) => npm install SpotiTube --save

Github (Dev) => npm install botGrace/SpotiTube#master

Npm (Dev) => npm install SpotiTube@dev

Documentation Site

https://SpotiTube.git.gracebot.net/

Getting Lavalink

Download the latest binaries from the CI server (DEV BRANCH) (Recommended) or CI server Normal

Put an application.yml file in your working directory.

Run with java -jar Lavalink.jar

Docker images are available on the Docker hub.

Example Usage

Create SpotiTube instance

const STYT = new SpotiTube({
  spotify: {
    clientID: 'CLIENTID',
    secretKey: 'SECRETKEY'
  },
  lavalink: {
    url: 'http://localhost:2869',
    password: 'password'
  }
})

Convert Spotify To YT

(async () => {
  const result = await STYT.convert('https://open.spotify.com/track/5nTtCOCds6I0PHMNtqelas');
  console.log(result);
})();