public function getTemperatureLast24Hours($stationId, $lang = 'en')
    {
        $parameterName = 'temperature';
        $version = $this->getParameterVersion('homepage', 'home.html');

        $stationData = $this->getStationDataWithVersion($version, 'homepage', $stationId, $lang);
        $stationMetadata = $this->getStationByParameter($parameterName, $stationId);

        $values = $stationData[0][$parameterName];
        $parameterData = $this->formatParameterValues($values, $parameterName);

        $data = $this->formatDataByParameterData($stationId, $stationMetadata, $parameterData);

        return $data;
    }
public function getTemperatureLast24Hours($stationId, $lang = 'en')
    {
        $parameterName = 'temperature';
        $version = $this->getParameterVersion('homepage', 'home.html');

        $stationData = $this->getStationDataWithVersion($version, 'homepage', $stationId, $lang);
        $stationMetadata = $this->getStationByParameter($parameterName, $stationId);

        $values = $stationData[0][$parameterName];
        $parameterData = $this->formatParameterValues($values, $parameterName);

        $data = $this->formatDataByParameterData($stationId, $stationMetadata, $parameterData);

        return $data;
    }
public function getTemperatureLast24Hours ( $ stationId , $ lang = 'en' ) { $ parameterName = 'temperature' ; $ version = $ this -> getParameterVersion ( 'homepage' , 'home.html' ) ; $ stationData = $ this -> getStationDataWithVersion ( $ version , 'homepage' , $ stationId , $ lang ) ; $ stationMetadata = $ this -> getStationByParameter ( $ parameterName , $ stationId ) ; $ values = $ stationData [ 0 ] [ $ parameterName ] ; $ parameterData = $ this -> formatParameterValues ( $ values , $ parameterName ) ; $ data = $ this -> formatDataByParameterData ( $ stationId , $ stationMetadata , $ parameterData ) ; return $ data ; }
Returns the measured temperatures of the last 24 hours in ten minute steps

@param $stationId
@param string $lang
@return array
Returns the measured temperatures of the last 24 hours in ten minute steps