add open-meteo API #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
bug
enhancement
question
techdebt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DD/Pogodnik!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issues-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
В чем разница этих двух принтов? Мб вынести их за if? Также у тебя взаимоисключающие эти ветки кода и лучше тогда использовать
elifПо факту выполнение программы останавливается, если мы город не нашли, и else здесь выглядит странно. Как насчет вынести логику программы в отдельную функцию
mainи в случае ненахода делатьreturn? https://realpython.com/if-name-main-python/За какое время в итоге усредняется влажность, за последние сутки? Мы вроде как хотим текущую погоду получать, а не среднесуточную
https://open-meteo.com/en/docs
Здесь сказано, что влажность является средним за сколько то часов
The parameter &hourly= accepts the following values. Most weather variables are given as an instantaneous value for the indicated hour.
Valid time для relativehumidity_2m - Instant
Please check new commit