@@ -182,36 +182,6 @@ public StringData getMatchPlayingDetails(int match_id) {
182182 return getMatchPlayingDetails (String .valueOf (match_id ));
183183 }
184184
185- /**
186- * Getting matches ID by Queue.
187- * @param queue the id of the game mode. See {@link Smite.Queue}
188- * @param date Date using by {@link Date} or similar.
189- * @param allDay An parameter represents it would be the entire day, but be warned that this may be more data than we can return for certain queues.
190- * @return Lists all Match IDs for a particular Match Queue; useful for API developers interested in constructing data by Queue.
191- */
192- public StringData getMatchIDsByQueue (Smite .Queue queue , Date date , boolean allDay ) {
193- SimpleDateFormat date_path = (allDay ) ? new SimpleDateFormat ("yyyyMMdd/-1" ) : new SimpleDateFormat ("yyyyMMdd/HH" );
194- SimpleDateFormat minute = new SimpleDateFormat ("mm" );
195- String min = String .valueOf (Integer .parseInt (minute .format (date )) - (Integer .parseInt (minute .format (date )) % 10 ));
196- String path = date_path .format (date ) + ((!allDay ) ? "," + min : "" );
197- return get ("getmatchidsbyqueue" , Integer .toString (queue .getId ()), path );
198- }
199-
200- /**
201- * Getting matches ID by Queue.
202- * @param queue the id of the game mode. See {@link Smite.Queue}
203- * @param date Date using by {@link Date} or similar. Required to limiting data return.
204- * @param allDay An parameter represents it would be the entire day, but be warned that this may be more data than we can return for certain queues.
205- * @return Lists all Match IDs for a particular Match Queue; useful for API developers interested in constructing data by Queue.
206- */
207- public StringData getMatchIDsByQueue (Paladins .Queue queue , Date date , boolean allDay ) {
208- SimpleDateFormat date_path = (allDay ) ? new SimpleDateFormat ("yyyyMMdd/-1" ) : new SimpleDateFormat ("yyyyMMdd/HH" );
209- SimpleDateFormat minute = new SimpleDateFormat ("mm" );
210- String min = String .valueOf (Integer .parseInt (minute .format (date )) - (Integer .parseInt (minute .format (date )) % 10 ));
211- String path = date_path .format (date ) + ((!allDay ) ? "," + min : "" );
212- return get ("getmatchidsbyqueue" , Integer .toString (queue .getId ()), path );
213- }
214-
215185 /**
216186 * Getting League Leaderboard
217187 * @param queue the id of the game mode. See {@link Smite.Queue}
@@ -306,6 +276,22 @@ public StringData getPlayer(String username) {
306276 return get ("getplayer" , username );
307277 }
308278
279+
280+ /**
281+ * Getting matches ID by Queue.
282+ * @param queue the id of the game mode. See {@link Smite.Queue}
283+ * @param date Date using by {@link Date} or similar. Required to limiting data return.
284+ * @param allDay An parameter represents it would be the entire day, but be warned that this may be more data than we can return for certain queues.
285+ * @return Lists all Match IDs for a particular Match Queue; useful for API developers interested in constructing data by Queue.
286+ */
287+ StringData getMatchIDsByQueue (int queue , Date date , boolean allDay ) {
288+ SimpleDateFormat date_path = (allDay ) ? new SimpleDateFormat ("yyyyMMdd/-1" ) : new SimpleDateFormat ("yyyyMMdd/HH" );
289+ SimpleDateFormat minute = new SimpleDateFormat ("mm" );
290+ String min = String .valueOf (Integer .parseInt (minute .format (date )) - (Integer .parseInt (minute .format (date )) % 10 ));
291+ String path = date_path .format (date ) + ((!allDay ) ? "," + min : "" );
292+ return get ("getmatchidsbyqueue" , Integer .toString (queue ), path );
293+ }
294+
309295 /**
310296 * Getting player status in the game
311297 * @param username This may either be:
0 commit comments