lib/api/api.js
function RobinApi (accessToken, coreUrl, placesUrl) {
    if (accessToken) {
      RobinApi.super_.apply(this, arguments);
      this.setAccessToken(accessToken);
      this.setupCore(coreUrl);
      this.setupPlaces(placesUrl);
      this.loadApiModules();
    } else {
      throw new TypeError('The access token is missing or malformed');
    }
  }
function RobinApi (accessToken, coreUrl, placesUrl) {
    if (accessToken) {
      RobinApi.super_.apply(this, arguments);
      this.setAccessToken(accessToken);
      this.setupCore(coreUrl);
      this.setupPlaces(placesUrl);
      this.loadApiModules();
    } else {
      throw new TypeError('The access token is missing or malformed');
    }
  }
function RobinApi ( accessToken , coreUrl , placesUrl ) { if ( accessToken ) { RobinApi . super_ . apply ( this , arguments ) ; this . setAccessToken ( accessToken ) ; this . setupCore ( coreUrl ) ; this . setupPlaces ( placesUrl ) ; this . loadApiModules ( ) ; } else { throw new TypeError ( 'The access token is missing or malformed' ) ; } }
The Robin API constructor
@param {String} accessToken      A Robin Access Token
@param {String} coreUrl          The Base URL for the Core API.
@param {String} placesUrl        The Base URL for the Places API
The Robin API constructor