OpenWeatherMap-PHP-API icon indicating copy to clipboard operation
OpenWeatherMap-PHP-API copied to clipboard

getRawWeatherGroupData()

Open KarelWintersky opened this issue 6 years ago • 3 comments

pls, add option for format data fetched, such as getRawWeatherData()

KarelWintersky avatar Feb 14 '19 12:02 KarelWintersky

I'm sorry for the late response @KarelWintersky. It is unclear to me what you are asking for. Could you elaborate on your request?

cmfcmf avatar May 29 '19 10:05 cmfcmf

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?

KarelWintersky avatar May 29 '19 13:05 KarelWintersky

Oh! I understand now. Feel free to create a PR for that :+1:

cmfcmf avatar May 29 '19 15:05 cmfcmf