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

Closed
opened 2026-10-15 13:27:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/Extension-Weather/pull/4
Author: @Copilot
Created: 2/25/2026
Status: ❌ Closed

Base: main ← Head: copilot/add-met-norway-weather-api


📝 Commits (1)

📄 Description

  • 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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/Extension-Weather/pull/4 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 2/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `copilot/add-met-norway-weather-api` --- ### 📝 Commits (1) - [`7a1d4eb`](https://github.com/SillyTavern/Extension-Weather/commit/7a1d4eba89da98a75149ffdf9c0c6223e264c952) Initial plan ### 📄 Description - [ ] 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) <!-- START COPILOT CODING AGENT TIPS --> --- 💡 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](https://gh.io/copilot-coding-agent-tips) in the docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 13:27:55 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/Extension-Weather#4
No description provided.