Skip to content

Commit

Permalink
Update README.md (#71)
Browse files Browse the repository at this point in the history
In the Python example, the coordinate identifiers °N and °E were swapped.
  • Loading branch information
SB-511 authored Jul 2, 2024
1 parent f30b3c9 commit 78e25ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ params = {

responses = om.weather_api("https://api.open-meteo.com/v1/forecast", params=params)
response = responses[0]
print(f"Coordinates {response.Latitude()}°E {response.Longitude()}°N")
print(f"Coordinates {response.Latitude()}°N {response.Longitude()}°E")
print(f"Elevation {response.Elevation()} m asl")
print(f"Timezone {response.Timezone()} {response.TimezoneAbbreviation()}")
print(f"Timezone difference to GMT+0 {response.UtcOffsetSeconds()} s")
Expand Down

0 comments on commit 78e25ff

Please sign in to comment.