new Spotify( access_token )

Description

Spotify Client.

Parameters
Name Type Description
access_token string

The client's access token.

Details

Members


access_token :string

Description

The client's access token.

Details
string

util :Util

Description

The util for the spotify client.

Details

player :PlayerManager

Description

The Player Manager.

Details

tracks :TrackManager

Description

The Track Manager.

Details

playlists :PlaylistManager

Description

The Playlist Manager.

Details

episodes :ShowManager

Description

The Episode Manager.

Details

shows :ShowManager

Description

The Show Manager.

Details

albums :AlbumManager

Description

The Album Manager.

Details

artists :ArtistManager

Description

The Artist Manager.

Details

categories :CategoryManager

Description

The Category Manager.

Details

users :UserManager

Description

The User Manager.

Details

refresher :Refresher|null

Description

The Refresher from node module 'spotify-oauth2'

Details
Refresher | null

Methods


genres() → {Promise.<Array.<string>>}

Description

Retrieve a list of available genres seed

Returns
Details

markets() → {Promise.<Array.<string>>}

Description

Get the list of markets where Spotify is available.

Returns
Details

set( key, value ) → {void}

Description

Set a property of the spotify client.

Parameters
Name Type Description
key string

The key of spotify to set.

value string

The value to set to.

Returns
Details