I am looking for a free sunrise-sunset API, the one which I found (mentioned below), isn't giving the correct sunset time for Melbourne, Australia (Code Below).
import requests #Get Data from API r = requests.get(') #Convert Data into JSON format, in this case a Dict j = r.json() print(j['results']['sunset']) This gives me 7:31:27 AM
Or any alternative Python Package would also do.
Thanks
31 Answer
The times are in UTC as mentioned on the api page - .
7:31 AM UTC translates to 5:31 PM AEST
