lib/SteamCondenser/Community/GameLeaderboard.php
public function getEntryRange($first, $last) {
        if($last < $first) {
            throw new SteamCondenserException('First entry must be prior to last entry for leaderboard entry lookup.');
        }
        if(($last - $first) > 5000) {
            throw new SteamCondenserException('Leaderboard entry lookup is currently limited to a maximum of 5001 entries per request.');
        }

        $xml = $this->loadData(['start' => $first, 'end' => $last]);

        return $this->parseEntries($xml);
    }
public function getEntryRange($first, $last) {
        if($last < $first) {
            throw new SteamCondenserException('First entry must be prior to last entry for leaderboard entry lookup.');
        }
        if(($last - $first) > 5000) {
            throw new SteamCondenserException('Leaderboard entry lookup is currently limited to a maximum of 5001 entries per request.');
        }

        $xml = $this->loadData(['start' => $first, 'end' => $last]);

        return $this->parseEntries($xml);
    }
Returns the entries on this leaderboard for a given rank range

The range is inclusive and a maximum of 5001 entries can be returned in
a single request.

@param int $first The first entry to return from the leaderboard
@param int $last The last entry to return from the leaderboard
@return GameLeaderboardEntry[] The entries that match the given rank range
@throws SteamCondenserException if the XML data is marked as erroneous
or the range is incorrect