Skip to content

Upgraded options with search and autofill city latitude and longitude with geoapi #823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

rud01f
Copy link
Contributor

@rud01f rud01f commented Aug 5, 2025

Updated configure.py to add search option for a given city/location and autofill lat/long boxes from one of selected search results.

The "Weather & Ping" config option has now entry field to enter location to search, and combobox with results + button to fill in selected result coordinates (for multiple locations like London in United Kingdom and London in Canada).

The results are pulled using openweathermap Geo API, and require entering valid API key.
The search results are also selected language agnostic, resulting in localized country and state names.

rud01f added 3 commits August 5, 2025 17:56
Updated configure.py to add search option for a given city/location and autofill lat/long boxes from one of selected search results.
Make program aware 'state' Geo API field may be not present.
@rud01f rud01f marked this pull request as draft August 5, 2025 16:42
@rud01f rud01f marked this pull request as ready for review August 5, 2025 16:44
@mathoudebine
Copy link
Owner

Thank you for the PR!

@mathoudebine mathoudebine merged commit e8f7d1e into mathoudebine:main Aug 9, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants