2.1.1 • Published 1 year ago
@tuneorg/spotify v2.1.1
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);
})();