com.exaroton.api.request.account.GetAccountRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official exaroton java library
package com.exaroton.api.request.account;
import com.exaroton.api.APIRequest;
import com.exaroton.api.APIResponse;
import com.exaroton.api.ExarotonClient;
import com.exaroton.api.account.Account;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
public class GetAccountRequest extends APIRequest {
public GetAccountRequest(ExarotonClient client) {
super(client);
}
@Override
protected String getEndpoint() {
return "account/";
}
@Override
protected Type getType() {
return new TypeToken>(){}.getType();
}
}