Sunrise/Sunset
LeeDroid- opened this issue · 5 comments
LeeDroid- commented
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?
KwabenBerko commented
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- commented
They are returning almost the same value, not relevant to location and only
a minute apart, quite strange
…On Sun, 15 Sep 2019, 01:39 Kwabena Bio Berko, ***@***.***> wrote:
Hello @LeeDroid- <https://github.com/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
<https://samples.openweathermap.org/data/2.5/weather?id=2172797&appid=b6907d289e10d714a6e88b30761fae22>
on OpenWeatherMap's API documentation's page.
What values are you getting for sunrise and sunset?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14?email_source=notifications&email_token=AADQAZYORNSAB5ZJMFO4FRLQJV72PA5CNFSM4IR6ZW6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XGXBI#issuecomment-531524485>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADQAZ33LGK7YXOQ5XCIGMDQJV72PANCNFSM4IR6ZW6A>
.
KwabenBerko commented
@LeeDroid-
Were you able to resolve this?
LeeDroid- commented
Hi,
I haven't yet had time to re-visit it, its on my list now so i will let you know
KwabenBerko commented
Alright.
Great.