meteo-core/src/main/java/no/api/meteo/service/textlocation/TextLocationService.java
public MeteoData<TextLocationWeather> fetchContent(double longitude, double latitude, TextLocationLanguage language)
            throws MeteoException {
        MeteoResponse response = getMeteoClient().fetchContent(
                createServiceUriBuilder()
                        .addParameter("latitude", latitude)
                        .addParameter("longitude", longitude)
                        .addParameter("language", language.getValue())
                        .build());
        return new MeteoData<>(parser.parse(response.getData()), response);
    }
public MeteoData<TextLocationWeather> fetchContent(double longitude, double latitude, TextLocationLanguage language)
            throws MeteoException {
        MeteoResponse response = getMeteoClient().fetchContent(
                createServiceUriBuilder()
                        .addParameter("latitude", latitude)
                        .addParameter("longitude", longitude)
                        .addParameter("language", language.getValue())
                        .build());
        return new MeteoData<>(parser.parse(response.getData()), response);
    }
public MeteoData < TextLocationWeather > fetchContent ( double longitude , double latitude , TextLocationLanguage language ) throws MeteoException { MeteoResponse response = getMeteoClient ( ) . fetchContent ( createServiceUriBuilder ( ) . addParameter ( "latitude" , latitude ) . addParameter ( "longitude" , longitude ) . addParameter ( "language" , language . getValue ( ) ) . build ( ) ) ; return new MeteoData <> ( parser . parse ( response . getData ( ) ) , response ) ; }
Fetch textforecasts and warnings for a geographical point or area.

@param longitude
The longitude for the geographical point.
@param latitude
The latitude for the geographical point.
@param language
The chosen language for the forecast. Note that textforecasts in english are available for only some
areas and some types ( e.g textforecasts for the coastal areas ).

@return A MeteoData object containing response information and textforecast converted into an TextLocationWeather
object.

@throws MeteoException
If a problem occurred while fetching or parsing the MET data.
Fetch textforecasts and warnings for a geographical point or area .