1broker.js
function apiMethod(path, params, callback) {
    var url    = config.url + path + '?token=' + config.api_key;
    if(params) url = url+= '&'+params;
    return apiRequest(url, callback);
  }
function apiMethod(path, params, callback) {
    var url    = config.url + path + '?token=' + config.api_key;
    if(params) url = url+= '&'+params;
    return apiRequest(url, callback);
  }
function apiMethod ( path , params , callback ) { var url = config . url + path + '?token=' + config . api_key ; if ( params ) url = url += '&' + params ; return apiRequest ( url , callback ) ; }
This method makes a private API request.
@param  {String}   path   The path to the API method
@param  {Object}   params   String of arguments to pass to the api call
@param  {Function} callback A callback function to be executed when the request is complete
@return {Object}            The request object
This method makes a private API request .