@imax.i7/spotify.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Spotify JS

@imax.i7/spotify.js is a lightweight JavaScript library that allows you to fetch data from Spotify.

Build Status Codecov License

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

Readme

Keywords

Package Sidebar

Install

npm i @imax.i7/spotify.js

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

39.5 kB

Total Files

68

Last publish

Collaborators

  • imax.i7