class WeatherWebApi {

    public Iterable<WeatherInfo> pastWeather(double lat, double log, LocalDate from, LocalDate to) {
        String path = HOST + String.format(PATH_PAST_WEATHER, lat, log, from, to, WEATHER_KEY);
        Iterable<String> src = request.getLines(path);
        boolean[] isOdd = {true};
        src = filter(src, line -> !line.startsWith("#")); // Filter no comments
        src = skip(src, 1);  // Skip Not Available
        src = filter(src, __-> {isOdd[0] = !isOdd[0]; return isOdd[0];}); // Skip daily information
        return map(src, line -> WeatherInfo.valueOf(line));
    }

    public  WeatherWebApi(Request request);

}