Class CategoryRecordsRequest

    • Constructor Detail

      • CategoryRecordsRequest

        public CategoryRecordsRequest​(String id)
      • CategoryRecordsRequest

        public CategoryRecordsRequest​(Category category)
    • Method Detail

      • topPlaces

        public CategoryRecordsRequest topPlaces​(int value)
        Sets number of places to return.

        This will return more than value runs per leaderboard if there are ties.

        Parameters:
        value - the top places to filter for, clamped to >= 1
        Returns:
        this object
      • skipEmptyResults

        public CategoryRecordsRequest skipEmptyResults()
        Skips leaderboards if they do not contain any runs.
        Returns:
        this object
      • keepEmptyResults

        public CategoryRecordsRequest keepEmptyResults()
        Keeps all leaderboards in the results, regardless of whether they have any runs.
        Returns:
        this object