code: public List<Rc> getRecentChanges(String rcstart, String rcend,
        Integer rclimit) throws Exception {
      String query = "&list=recentchanges&rcprop=title%7Ctimestamp%7Csha1%7Cids%7Csizes%7Cflags%7Cuser";
      if (rclimit != null) {
        query += "&rclimit=" + rclimit;
      }
      if (rcstart != null) {
        query += "&rcstart=" + rcstart;
      }
      if (rcend != null) {
        query += "&rcend=" + rcend;
      }
      Api api = getQueryResult(query);
      handleError(api);
      List<Rc> rcList = api.getQuery().getRecentchanges();
      rcList = sortByTitleAndFilterDoubles(rcList);
      return rcList;
    }
docs: get the recent changes see https://www.mediawiki.org/wiki/API:RecentChanges
  
  @param rcstart
  The timestamp to start listing from (May not be more than
  $wgRCMaxAge into the past, which on Wikimedia wikis is 30 days[1])
  @param rcend
  @param rclimit
  @return - the list of recent changes
  @throws Exception