Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

tuneorg/spotify

Repository files navigation

Installation

npm install @tuneorg/spotify

Basic Implementation

import { Spotify } from "@tuneorg/spotify";

const spotify = new Spotify({
   clientId: "",
   clientSecret: "",
});
(async () => {
 await spotify.renewToken(); //must be invoked first
 const search = await spotfiy.search(url);
 console.log(search);
})();