1.2.0 • Published 1 year ago

@rygent/spotify v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Spotify Wrapper

An UNOFFICIAL wrapper for Spotify REST API written in typescript.

You can visit the official docs for Spotify here to find out everything you can do.

!IMPORTANT

This project is still under development, not everything supported yet.

Installation

# NPM
npm i @rygent/spotify

# Yarn
yarn add @rygent/spotify

# PNPM
pnpm add @rygent/spotify

Example

import { Spotify } from '@rygent/spotify';

const spotify = new Spotify({
    id: 'your client id',
    secret: 'your client secret'
});

await spotify.search({ type: 'track,album', query: 'Happier Than Ever' });
await spotify.search({ type: 'artist', query: 'Billie Eilish' });

!NOTE

  • offset: This property is optional and the default value is 0.
  • limit: This property is optional and the default value is 20.

1.2.0

1 year ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago