Skip to content

Commit

Permalink
Testing daily_data
Browse files Browse the repository at this point in the history
  • Loading branch information
briis committed May 25, 2024
1 parent c936dc2 commit 2040d7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions async_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ async def main() -> None:
# print(err)

try:
result = await weather.async_get_minute_data('12')
result = await weather.async_get_daily_data('6')
for row in result:
print("")
print("========================================================")
print("DATE: ", row.logdate)
print("TEMP: ", row.temperature)
print("ICON: ", row.wind_speed)
print("TEMP: ", row.temperature_high)
print("WIND MAX: ", row.wind_speed_max)
print("")

except Exception as err:
Expand Down

0 comments on commit 2040d7a

Please sign in to comment.