SpotifyOptions
ruvyrias / SpotifyOptions
Interface: SpotifyOptions
Defined in: types/Spotify.ts:4
Options for interacting with the Spotify API.
Properties
albumLimit?
optional
albumLimit:number
Defined in: types/Spotify.ts:14
Maximum limit for the number of albums to fetch.
authorization?
optional
authorization:string
Defined in: types/Spotify.ts:20
Authorization string for accessing the Spotify API.
clientId
clientId:
string
Defined in: types/Spotify.ts:6
The client ID for accessing the Spotify API.
clients?
optional
clients:object
[]
Defined in: types/Spotify.ts:10
Additional clients with their respective client ID and client secret for rotation.
clientId
clientId:
string
clientSecret
clientSecret:
string
clientSecret
clientSecret:
string
Defined in: types/Spotify.ts:8
The client secret for accessing the Spotify API.
interval?
optional
interval:number
Defined in: types/Spotify.ts:22
Interval for token refresh in milliseconds.
playlistLimit?
optional
playlistLimit:number
Defined in: types/Spotify.ts:12
Maximum limit for the number of playlists to fetch.
searchLimit?
optional
searchLimit:number
Defined in: types/Spotify.ts:16
Maximum limit for the number of search results to fetch.
searchMarket?
optional
searchMarket:string
Defined in: types/Spotify.ts:18
The market to use for search queries.
token?
optional
token:string
Defined in: types/Spotify.ts:24
Current access token for interacting with the Spotify API.