Members
-
spotify :Spotify
-
Description
The spotify client.
Details
Methods
-
toJson( response ) → {object|null}
-
Description
Checks to see if the Response if json.
Parameters
Name Type Description responsenode-fetch#Response Returns
Details
-
fetch( path, method, body, options ) → {Promise.<node-fetch#Response>}
-
Description
Fetchs from spotify's api.
Parameters
Name Type Description pathstring The path to fetch from.
methodstring The method used in the fetch.
bodyobject The body for the fetch.
optionsnode-fetch#Options The options for the fetch.
Returns
Details