code: function (endPoint, params, cb) {
  
              //build url
  
              var url;
  
              switch (options.api) {
  
                  case 'upload':
                      url = "https://upload.wistia.com/";
                      break;
  
                  case 'data':
                      url = "https://api.wistia.com/" + options.version + '/' + endPoint + "." + options.format;
                      break;
              }
  
              url += "?" + "api_password=" + apiKey + "&";
  
              var reqMethod = 'GET';
  
              if (typeof params._method != "undefined") {
  
                  reqMethod = params._method;
  
                  delete params._method;
  
              }
  
              if (typeof params.formEncoded != 'undefined') {
  
                  delete params.formEncoded;
  
                  this._sendRequestUrlEncoded(url, params, cb);
  
              } else {
  
                  //Set params
                  if (params) {
  
                      var paramKeys = Object.keys(params);
  
                      if (paramKeys.length > 0) {
  
                          for (var key in paramKeys) {
  
                              url += paramKeys[key] + "=" + params[paramKeys[key]] + "&";
  
                          }
  
                      }
  
                  }
  
                  this._sendRequest(encodeURI(url), reqMethod, cb);
  
              }
  
          }
docs: /*
  @param API endopint {String}
  @param Params {Object}
  @param Callback {any}