com.robrua.orianna.api.dto.FeaturedGamesAPI Maven / Gradle / Ivy
package com.robrua.orianna.api.dto;
import com.robrua.orianna.type.dto.featuredgames.FeaturedGames;
public abstract class FeaturedGamesAPI {
/**
* @return the featured games
* @see Riot
* API Specification
*/
public static FeaturedGames getFeaturedGames() {
final String request = "/observer-mode/rest/featured";
return BaseRiotAPI.GSON.fromJson(BaseRiotAPI.getRoot(request, null, false), FeaturedGames.class);
}
}