@tuneorg/spotify
v2.1.1
Published
A spotify resolver
Downloads
10
Maintainers
Readme
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);
})();