Index PHPmyEasyWeather PHPmyEasyWeather Homepage

getConditions

getConditions -- return weather conditions out of METAR or TAF Code

Description

string getConditions (string $METAR_TAF, string $LANGUAGE);

getConditions returns the current conditions if reported in a METAR or TAF string written as a plain text string e.g. "heavy thunderstorm with rain showers"

As first parameter it expects the METAR or TAF code, as second the language, it can be either "EN" or "DE" for english and german, other languages are not yet provided.


Previous Up Next