code: function APICursor(api, itemCls, path, params)
  {
      if (!params)
      {
          params = {};
      }
  
      if (params.count)
      {
          throw new Error("Cannot construct APICursor with 'count' parameter. Call the count() method instead.");
      }
      
      this.api = api;
      this.itemCls = itemCls;
      this.path = path;
      this.params = params;
      this._limit = null;
      this.offset = 0;
      this.data = null;
  }
docs: /*
  APICursor
  
  An easy-to-use interface for interacting with API methods that return collections of objects
  that may be split into multiple pages of results.
  
  Using the APICursor, you can easily iterate over query results without
  having to manually fetch each page of results.