mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-27 05:50:56 +00:00
- Introduced a shared API for location resolution using `modules.location`, allowing for better handling of place lookups (coordinates, ZIP codes, city names). - Updated geocoding functions to accept both strings and structured dictionaries, improving flexibility in location queries. - Refactored existing commands (AQI, Rain, Wx) to utilize the new location resolution methods, streamlining the codebase and enhancing maintainability. - Removed redundant location handling logic from commands, centralizing functionality in the new location module. - Added tests to ensure proper classification and resolution of various location formats, including multi-word international cities and ZIP codes with surrounding whitespace.