code: function getHistory(callback) {
      if (_.isUndefined(callback)) {
      } else {
        var u = config.baseUrl + ((api_version == "v1") ? "v1.1" : api_version) + "/history",
            tokenData = this.getAuthToken();
        if (tokenData.type != "bearer") {
          throw new Error("Invalid token type. Must use a token of type bearer.");
        }
        return helper.get(tokenData, u, callback);
      }
    }
docs: getHistory Get the currently logged in user history
  
  @param Function A callback function which takes two paramenters