Exemple #1
0
 /// <summary>
 /// /getmatchidsbyqueue[ResponseFormat]/{developerId}/{signature}/{session}/{timestamp}/{queue}/{date}/{hour}
 /// NOTE - To avoid HTTP timeouts in the GetMatchIdsByQueue() method, you can now specify a 10-minute window within the specified {hour} field to lessen the size of data returned by appending a “,mm” value to the end of {hour}. For example, to get the match Ids for the first 10 minutes of hour 3, you would specify {hour} as “3,00”.  This would only return the Ids between the time 3:00 to 3:09.  Rules below:
 /// </summary>
 /// <param name="queue"></param>
 /// <param name="date"></param>
 /// <param name="hour">>Only valid values for mm are “00”, “10”, “20”, “30”, “40”, “50”. To get the entire third hour worth of Match Ids, call GetMatchIdsByQueue() 6 times, specifying the following values for {hour}: “3,00”, “3,10”, “3,20”, “3,30”, “3,40”, “3,50”. The standard, full hour format of {hour} = “hh” is still supported.</param>
 /// <returns>Lists all Match IDs for a particular Match Queue; useful for API developers interested in constructing data by Queue.  To limit the data returned, an {hour} parameter was added (valid values: 0 - 23).  An {hour} parameter of -1 represents the entire day, but be warned that this may be more data than we can return for certain queues.  Also, a returned “active_flag” means that there is no match information/stats for the corresponding match.  Usually due to a match being in-progress, though there could be other reasons.</returns>
 public List <Models.MatchId> GetMatchIdsByQueue(Enums.QueueType queue, System.DateTime date, string hour)
 {
     return(this.GetMatchIdsByQueue(queue, Utils.UtcNow("yyyyMMdd"), hour));
 }
Exemple #2
0
 /// <summary>
 /// /getqueuestats[ResponseFormat]/{developerId}/{signature}/{session}/{timestamp}/{player}/{queue}
 /// </summary>
 /// <param name="playerId"></param>
 /// <param name="queue"></param>
 /// <returns>Returns match summary statistics for a (player, queue) combination grouped by gods played.</returns>
 public List <Models.QueueChampionStat> GetQueueStats(int playerId, Enums.QueueType queue)
 {
     return(this.CheckRequest <List <Models.QueueChampionStat> > ("getqueuestats", playerId, queue));
 }
Exemple #3
0
 /// <summary>
 /// /getmatchidsbyqueue[ResponseFormat]/{developerId}/{signature}/{session}/{timestamp}/{queue}/{date}/{hour}
 /// NOTE - To avoid HTTP timeouts in the GetMatchIdsByQueue() method, you can now specify a 10-minute window within the specified {hour} field to lessen the size of data returned by appending a “,mm” value to the end of {hour}. For example, to get the match Ids for the first 10 minutes of hour 3, you would specify {hour} as “3,00”.  This would only return the Ids between the time 3:00 to 3:09.  Rules below:
 /// </summary>
 /// <param name="queue"></param>
 /// <param name="date"></param>
 /// <param name="hour">Only valid values for mm are “00”, “10”, “20”, “30”, “40”, “50”. To get the entire third hour worth of Match Ids, call GetMatchIdsByQueue() 6 times, specifying the following values for {hour}: “3,00”, “3,10”, “3,20”, “3,30”, “3,40”, “3,50”. The standard, full hour format of {hour} = “hh” is still supported.</param>
 /// <returns>Lists all Match IDs for a particular Match Queue; useful for API developers interested in constructing data by Queue.  To limit the data returned, an {hour} parameter was added (valid values: 0 - 23).  An {hour} parameter of -1 represents the entire day, but be warned that this may be more data than we can return for certain queues.  Also, a returned “active_flag” means that there is no match information/stats for the corresponding match.  Usually due to a match being in-progress, though there could be other reasons.</returns>
 public List <Models.MatchId> GetMatchIdsByQueue(Enums.QueueType queue, string date, string hour)
 {
     return(this.CheckRequest <List <Models.MatchId> > ("getmatchidsbyqueue", queue, date, hour));
 }