meteo-core/src/main/java/no/api/meteo/service/locationforecast/LocationforecastLTSService.java
public MeteoData<LocationForecast> fetchContent(double longitude, double latitude, int altitude)
            throws MeteoException {
        MeteoResponse response = getMeteoClient().fetchContent(
                createServiceUriBuilder()
                        .addParameter(PARAM_LATITUDE, latitude)
                        .addParameter(PARAM_LONGITUDE, longitude)
                        .addParameter(PARAM_ALTITUDE, altitude).build()
        );
        return new MeteoData<>(parser.parse(response.getData()), response);
    }
public MeteoData<LocationForecast> fetchContent(double longitude, double latitude, int altitude)
            throws MeteoException {
        MeteoResponse response = getMeteoClient().fetchContent(
                createServiceUriBuilder()
                        .addParameter(PARAM_LATITUDE, latitude)
                        .addParameter(PARAM_LONGITUDE, longitude)
                        .addParameter(PARAM_ALTITUDE, altitude).build()
        );
        return new MeteoData<>(parser.parse(response.getData()), response);
    }
Fetch a LocationforecastLTS from the MET API, based on longitude, latitude and altitude.

@param longitude
The longitude of the location where the forecast should be fetched for.
@param latitude
The latitude of the location where the forecast should be fetched for.
@param altitude
The altitude of the location where the forecast should be fetched for.

@return A MeteoData object containing response information and data converted into a LocationForcast object.

@throws MeteoException
If a problem occurred while fetching or parsing the MET data.