def create_date_range_str(i):
    """
    Creates str needed to get more results from the Pole Emploi API
    Args:
        i: "page" index (i.e. we divide all results in pages of 150 elements, the maxium the API returns)

    Returns: str (e.g. '0-149)

    """
    return str(str(min(i, 1000)) + '-' + str(min(i + 149, 1149)))