public function getWeatherGroup($ids, $units = 'imperial', $lang = 'en', $appid = '')
    {
        $answer = $this->getRawWeatherGroupData($ids, $units, $lang, $appid);
        $json = $this->parseJson($answer);

        return new CurrentWeatherGroup($json, $units);
    }
public function getWeatherGroup($ids, $units = 'imperial', $lang = 'en', $appid = '')
    {
        $answer = $this->getRawWeatherGroupData($ids, $units, $lang, $appid);
        $json = $this->parseJson($answer);

        return new CurrentWeatherGroup($json, $units);
    }
public function getWeatherGroup ( $ ids , $ units = 'imperial' , $ lang = 'en' , $ appid = '' ) { $ answer = $ this -> getRawWeatherGroupData ( $ ids , $ units , $ lang , $ appid ) ; $ json = $ this -> parseJson ( $ answer ) ; return new CurrentWeatherGroup ( $ json , $ units ) ; }
Returns the current weather for a group of city ids.

@param array  $ids   The city ids to get weather information for
@param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned.
@param string $lang  The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi.
@param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details.

@throws OpenWeatherMap\Exception  If OpenWeatherMap returns an error.
@throws \InvalidArgumentException If an argument error occurs.

@return CurrentWeatherGroup

@api
Returns the current weather for a group of city ids .