1.0.1 • Published 7 months ago
@imax.i7/spotify.js v1.0.1
Spotify JS
@imax.i7/spotify.js
is a lightweight JavaScript library that allows you to fetch data from Spotify.
Prerequisites
- NodeJS v16+
Installation
You can install @imax.i7/spotify.js
using npm or yarn:
npm install @imax.i7/spotify.js
# or
yarn add @imax.i7/spotify.js
Usage
const Spotify = require("@imax.i7/spotify.js").default;
Example
const Spotify = require("@imax.i7/spotify.js").default;
Spotify.getTrack("2cGxRwrMyEAp8dEbuZaVv6").then((response) =>
console.log(response)
);
Todo list
- Add a search function.
- Add related tracks/artists/playlist function.
- Add get track canvas function.
Links
License
ISC