public static function getLeaderboard($gameName, $id) {
        $leaderboards = self::getLeaderboards($gameName);

        if (is_int($id)) {
            if (array_key_exists($id, $leaderboards)) {
                return $leaderboards[$id];
            } else {
                return null;
            }
        } else {
            foreach(array_values($leaderboards) as $board) {
                if($board->getName() == $id) {
                    return $board;
                }
            }
        }
    }