code: def query(self, **query):
          
          return json.loads(self._get('', **query).body.read().decode('utf-8'))
docs: Gets the results of query, with optional parameters sort, limit, skip, and fields.
  
          :param query: Optional parameters. Valid options are sort, limit, skip, and fields
          :type query: ``dict``
  
          :return: Array of documents retrieved by query.
          :rtype: ``array``