code: public Api getQueryResult(String query) throws Exception {
      Api result = this.getActionResult("query", query, null, null);
      return result;
    }
docs: get the Result for the given query
  
  @param query
  @return the API result for the query
  @throws Exception