All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.robertograham.fortnite2.resource.LeaderBoardResource Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package io.github.robertograham.fortnite2.resource;

import io.github.robertograham.fortnite2.domain.LeaderBoardEntry;
import io.github.robertograham.fortnite2.domain.enumeration.PartyType;
import io.github.robertograham.fortnite2.domain.enumeration.Platform;

import java.io.IOException;
import java.util.List;
import java.util.Optional;

public interface LeaderBoardResource {

    /**
     * @param platform
     * @param partyType
     * @param maxEntries number of leader board entries to fetch
     * @return list of leader board entries in descending order
     * @throws IllegalArgumentException if maxEntries is less than 0 or greater than 1000
     */
    Optional> findHighestWinnersByPlatformAndByPartyTypeForCurrentSeason(Platform platform, PartyType partyType, int maxEntries) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy