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

Latest commit

 

History

History
18 lines (15 loc) · 336 Bytes

readme.md

File metadata and controls

18 lines (15 loc) · 336 Bytes

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);
})();