spotify-web-api-node
Version:
A Node.js wrapper for Spotify's Web API
16 lines (12 loc) • 341 B
JavaScript
var Request = require('./base-request');
var DEFAULT_HOST = 'api.spotify.com',
DEFAULT_PORT = 443,
DEFAULT_SCHEME = 'https';
module.exports.builder = function(accessToken) {
return Request.builder()
.withHost(DEFAULT_HOST)
.withPort(DEFAULT_PORT)
.withScheme(DEFAULT_SCHEME)
.withAuth(accessToken);
};
;