com.ibasco.agql.protocols.valve.dota2.webapi.Dota2WebApiClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agql-dota2-webapi Show documentation
Show all versions of agql-dota2-webapi Show documentation
Implementation for the Dota 2 Web API Interfaces
/*
* Copyright (c) 2022 Asynchronous Game Query Library
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ibasco.agql.protocols.valve.dota2.webapi;
import com.ibasco.agql.core.util.HttpOptions;
import com.ibasco.agql.protocols.valve.steam.webapi.SteamWebApiClient;
import com.ibasco.agql.protocols.valve.steam.webapi.SteamWebApiResponse;
import org.asynchttpclient.Response;
/**
* Dota2WebApiClient class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2WebApiClient extends SteamWebApiClient {
/**
* Constructor for Dota2WebApiClient.
*
* @param apiToken
* a {@link java.lang.String} object
*/
public Dota2WebApiClient(String apiToken) {
super(apiToken);
}
/**
* Create a new client using the provided {@link HttpOptions}
*
* @param options
* The {@link HttpOptions} to be used by the client
*/
public Dota2WebApiClient(HttpOptions options) {
super(options);
}
/** {@inheritDoc} */
@Override
protected SteamWebApiResponse createWebApiResponse(Response response) {
return new Dota2WebApiResponse(response);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy