Package de.blackrose01
Class IgdbWrapper
- java.lang.Object
-
- de.blackrose01.IgdbWrapper
-
public class IgdbWrapper extends Object
Wrapper for IGDB API
-
-
Constructor Summary
Constructors Constructor Description IgdbWrapper(String apiKey, String urlBase)IgdbWrapper(String apiKey, String urlBase, Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TsendRequest(Endpoint endpoint, Parameters parameters, Class<T> c)general method to send requests<T> TsendRequest(Endpoint endpoint, Parameters parameters, org.springframework.http.HttpMethod httpMethod, Class<T> c)general method to send requests<T> TsendRequest(Endpoint endpoint, Class<T> c)general method to send requests<T> TsendRequest(Endpoint endpoint, org.springframework.http.HttpMethod httpMethod, Class<T> c)general method to send requests
-
-
-
Method Detail
-
sendRequest
public <T> T sendRequest(Endpoint endpoint, Parameters parameters, org.springframework.http.HttpMethod httpMethod, Class<T> c)
general method to send requests- Parameters:
endpoint-parameters-httpMethod-c-- Returns:
- api response
-
sendRequest
public <T> T sendRequest(Endpoint endpoint, Parameters parameters, Class<T> c)
general method to send requests- Type Parameters:
T-- Parameters:
endpoint-parameters-c-- Returns:
- api response
-
sendRequest
public <T> T sendRequest(Endpoint endpoint, org.springframework.http.HttpMethod httpMethod, Class<T> c)
general method to send requests- Type Parameters:
T-- Parameters:
endpoint-httpMethod-c-- Returns:
- api response
-
-