OpenWeatherMap-PHP-API
OpenWeatherMap-PHP-API copied to clipboard
getRawWeatherGroupData()
pls, add option for format data fetched, such as getRawWeatherData()
I'm sorry for the late response @KarelWintersky. It is unclear to me what you are asking for. Could you elaborate on your request?
public function getRawWeatherData($query, $units = 'imperial', $lang = 'en', $appid = '', $mode = 'xml')
where $mode - The format of the data fetched. Possible values are 'json', 'html' and 'xml' (default).
So,
public function getRawWeatherGroupData($ids, $units = 'imperial', $lang = 'en', $appid = '')
have no option for data fetched, it hardcoded to JSON.
Can I make my own pull request for this?
Oh! I understand now. Feel free to create a PR for that :+1: