KwabenBerko/OpenWeatherMap-Android-Library

Sunrise/Sunset

LeeDroid- opened this issue · 5 comments

Hi,

getSunrise() & getSunset() are returning the wrong values, it looks like you are getting the data in JSON format, I think these are only returned when using XML, can you confirm & is there a way to correct it?

Hello @LeeDroid-
Sorry for the late reply. Just confirmed that sunrise and sunset values are also returned in JSON format. These values are also included in the sample response data on OpenWeatherMap's API documentation's page.

What values are you getting for sunrise and sunset?

@LeeDroid-
Were you able to resolve this?

Hi,

I haven't yet had time to re-visit it, its on my list now so i will let you know

Alright.
Great.