Skip to content

[WIP] Add MET Norway as a weather API provider - #4

Closed
Cohee1207 with Copilot wants to merge 1 commit into
mainfrom
copilot/add-met-norway-weather-api
Closed

[WIP] Add MET Norway as a weather API provider#4
Cohee1207 with Copilot wants to merge 1 commit into
mainfrom
copilot/add-met-norway-weather-api

Conversation

Copilot AI commented Feb 25, 2026

Copy link
Copy Markdown
Contributor
  • Add 'met.no': 'MET Norway' to WEATHER_PROVIDERS constant
  • Add Nominatim geocoding function (free, no API key needed) with caching for lat/lon lookup
  • Add MET Norway API fetch function using locationforecast/2.0/complete endpoint
  • Add weather data parser (parseMetNoWeatherData) for current conditions
  • Add forecast data parser (parseMetNoForecastData) for multi-day forecasts
  • Add symbol_code to human-readable description mapping
  • Add met.no case to getWeatherByProvider() switch statement
  • Add met.no case to getForecastByProvider() switch statement
  • Add MET Norway option to provider dropdown in settings HTML (🆓 free)

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Cohee1207 Cohee1207 closed this Feb 25, 2026
@Cohee1207
Cohee1207 deleted the copilot/add-met-norway-weather-api branch February 25, 2026 20:51
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