com.lukaspradel.steamapi.core.SteamApiRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of steam-web-api Show documentation
Show all versions of steam-web-api Show documentation
A library to provide access to the data available from Valve's Steam API
package com.lukaspradel.steamapi.core;
import java.util.Collections;
import java.util.Map;
/**
* General purpose request class for requests to some Steam API.
*
* @author lpradel
*
*/
public abstract class SteamApiRequest {
protected final String baseUrl;
protected final Map parameters;
protected static final String REQUEST_PARAM_BOOLEAN_TRUE = "1";
public SteamApiRequest(String baseUrl, Map parameters) {
this.baseUrl = baseUrl;
this.parameters = parameters;
}
public String getBaseUrl() {
return baseUrl;
}
public Map getParameters() {
return Collections.unmodifiableMap(parameters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy