com.exaroton.api.request.server.GetPlayerListsRequest 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.server;
import com.exaroton.api.APIResponse;
import com.exaroton.api.ExarotonClient;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
public class GetPlayerListsRequest extends ServerRequest {
public GetPlayerListsRequest(ExarotonClient client, String id) {
super(client, id);
}
@Override
protected String getEndpoint() {
return "servers/{id}/playerlists/";
}
@Override
protected Type getType() {
return new TypeToken>(){}.getType();
}
}