예제 #1
0
        public List <APISeason> RequestPlatformRegionSeasons(PlatformRegionShard platformRegionShard = PlatformRegionShard.PC_NA)
        {
            APIRequest request = new APIRequest();

            return(request.RequestRegionSeasons(APIKey, GetEnumDescription(platformRegionShard)));
        }
예제 #2
0
        /// <summary>
        /// Request a single match using the Replay class
        /// </summary>
        /// <param name="replay">The replay to read</param>
        /// <returns></returns>
        public APIRequest RequestMatch(Replay.Replay replay, bool DownloadTelemetryAutomatically = true)
        {
            APIRequest APIRequest = new APIRequest();

            return(APIRequest.RequestSingleMatch(APIKey, GetEnumDescription(replay.Summary.KnownRegion), replay.Info.MatchID, DownloadTelemetryAutomatically));
        }
예제 #3
0
        public List <string> FetchMatchSamples(PlatformRegionShard platformRegionShard = PlatformRegionShard.PC_NA)
        {
            APIRequest request = new APIRequest();

            return(request.RequestSamples(APIKey, GetEnumDescription(platformRegionShard)));
        }