TSpotify
A Node.js and TypeScript library for interacting with Spotify API.
Type aliases
FetchedAlbum
Type parameters
FetchedArtist
Type parameters
FetchedAudioFeatures
Type parameters
FetchedCategory
Type parameters
FetchedEpisode
Type parameters
FetchedShow
Type parameters
FetchedTrack
Type parameters
SearchItemType
SearchItemType: "album" | "artist" | "episode" | "playlist" | "show" | "track"
SeedType
SeedType: "ARTIST" | "GENRE" | "TRACK"
SubdomainType
SubdomainType: "api" | "account"
Variables
CustomError
CustomError: any
CustomRangeError
CustomRangeError: any
CustomTypeError
CustomTypeError: any
Const DefaultClientOptions
Const Events
Events: { ACCESS_TOKEN_UPDATE: string; READY: string } = ...
Type declaration
-
ACCESS_TOKEN_UPDATE: string
-
READY: string
Functions
mergeDefault
-
Parameters
-
defaultObject: any
-
given: any
parseResponse
- parseResponse(res: Response): Promise<any>
-
Parameters
Returns Promise<any>
The body of the response
The default options with which the client gets initiated