Beispiel #1
0
        public RocketLeagueApi(RocketLeagueOptions o)
        {
            key = o.ApiKey;

            platforms = new RocketLeaguePlatformCache(key)
            {
                UpdateSpan = o.CacheTime,
            };
            playlists = new RocketLeaguePlaylistCache(key)
            {
                UpdateSpan = o.CacheTime,
            };
            seasons = new RocketLeagueSeasonCache(key)
            {
                UpdateSpan = o.CacheTime,
            };
            tiers = new RocketLeagueTierCache(key)
            {
                UpdateSpan = o.CacheTime,
            };
        }
Beispiel #2
0
 public RocketLeagueApi(RocketLeagueOptions o)
 {
     key = o.ApiKey;
 }