Add Thunderstorm support for Pirate Weather and update docs

This commit is contained in:
Kev 2025-10-30 18:25:03 -04:00 β€’ committed by Julien Papasian
parent 8d168c49c2
commit beb50966f5
3 changed files with 10 additions and 20 deletions

View file

@ -317,6 +317,7 @@ class PirateWeatherService @Inject constructor(
"clear-day", "clear-night" -> WeatherCode.CLEAR
"partly-cloudy-day", "partly-cloudy-night" -> WeatherCode.PARTLY_CLOUDY
"cloudy" -> WeatherCode.CLOUDY
"thunderstorm" -> WeatherCode.THUNDERSTORM
else -> null
}
}

View file

@ -222,7 +222,7 @@ For the United States, [Forecast Advisor](https://www.forecastadvisor.com/) has
|--------------------------------|---------------------------------------------------------------------|
| πŸ—ΊοΈ **Coverage** | 🌐 Worldwide (some features may not be available for all locations) |
| πŸ“† **Daily forecast** | Up to 8 days |
| ⏱️ **Hourly forecast** | Up to 2 days |
| ⏱️ **Hourly forecast** | Up to 7 days |
| ▢️ **Current observation** | Available: can complement another source as a **Current Source** |
| πŸ˜Άβ€πŸŒ«οΈ **Air quality** | Not available |
| 🀧 **Pollen** | Not available |
@ -235,14 +235,14 @@ For the United States, [Forecast Advisor](https://www.forecastadvisor.com/) has
<details><summary><h4>Details of available data from Pirate Weather</h4></summary>
| Data | Available | Data | Available |
|---------------------------|-----------|-------------------|-------------|
| Data | Available | Data | Available |
|---------------------------|------------|-------------------|--------------|
| Weather Condition | βœ… | Humidity | βœ… |
| Temperature | βœ… | Dew Point | βœ… |
| Precipitation | βœ… (RS) | UV Index | βœ… |
| Precipitation | βœ… (RSI) | UV Index | βœ… |
| Precipitation Probability | βœ… | Sunshine Duration | ❌ |
| Precipitation Duration | ❌ | Cloud Cover | βœ… |
| Wind | βœ… | Visibility | βœ… (Current) |
| Wind | βœ… | Visibility | βœ… |
| Pressure | βœ… | Ceiling | ❌ |
</details>

View file

@ -177,28 +177,17 @@ https://openweathermap.org/api
## Pirate Weather
*Last checked: 2024-04-16*
*Last checked: 2025-10-30*
https://github.com/Pirate-Weather/pirateweather
| Endpoint | Version | Notes |
|----------|---------|------------------------|
| Forecast | v1.5.6 | V2.0 is in pre-release |
| Endpoint | Version | Notes |
|----------|----------|------------------------|
| Forecast | v2.7.11 | V2.8 is in pre-release |
We should check regularly for additional fields we could use. Latest version checked is written above, everything more recent requires to check changelog.
## HERE
*Last checked: 2024-02-13*
| Endpoint | Version | Documentation |
|---------------------|------------|------------------------------------------------------------------------------------------------|
| Weather Destination | v3 | https://www.here.com/docs/bundle/here-destination-weather-api-v3-api-reference/page/index.html |
| Geocode | v1 (7.116) | https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html |
| Reverse geocode | v1 (7.116) | https://www.here.com/docs/bundle/geocoding-and-search-api-v7-api-reference/page/index.html |
## MΓ©tΓ©o-France
*Last checked: 2024-02-13*