public static IRoyaleApiClientContext Create(ApiOptions apiOptions, HttpClient httpClient = null)
        {
            if (httpClient == null)
            {
                httpClient = new HttpClient();
            }

            IRestApiClient          restApiClient    = new Core.RestApiClient(httpClient, apiOptions);
            IRoyaleApiClientContext apiClientContext = new RoyaleApiStandalone(
                new VersionClient(restApiClient),
                new PlayerClient(restApiClient),
                new ClanClient(restApiClient),
                new TournamentClient(restApiClient));

            return(apiClientContext);
        }
        public static IRoyaleApiClientContext Create(ApiOptions apiOptions, HttpClient httpClient = null)
        {
            if (httpClient == null)
            {
                httpClient = new HttpClient();
            }

            httpClient.BaseAddress = new Uri(apiOptions.BaseUrl);

            httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", apiOptions.BearerToken);

            IRestApiClient restApiClient = new RestApiClient(httpClient);

            IRoyaleApiClientContext apiClientContext = new RoyaleApiStandalone(new VersionClient(restApiClient), new ConstantClient(restApiClient),
                                                                               new PlayerClient(restApiClient), new ClanClient(restApiClient));

            return(apiClientContext);
        }