You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+70Lines changed: 70 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,11 @@ This library for the [Pirate Weather API](https://pirateweather.net) which is an
5
5
API, and provides access to detailed
6
6
weather information from around the globe.
7
7
8
+
**Now supporting Pirate Weather API v2.8+** with new data fields including smoke levels, solar radiation, fire indices, and detailed precipitation breakdowns.
9
+
8
10
*[Installation](#installation)
9
11
*[Get started](#get-started)
12
+
*[New Features](#new-features)
10
13
*[Contact us](#contact-us)
11
14
*[License](#license)
12
15
@@ -138,6 +141,73 @@ api_key = "0123456789"
138
141
asyncio.run(main(api_key))
139
142
```
140
143
144
+
### New Features
145
+
146
+
#### API v2.8+ Support
147
+
148
+
This library now supports all Pirate Weather API v2.8+ fields:
149
+
150
+
**New Weather Data Fields:**
151
+
-`smoke` - Air quality smoke levels (µg/m³)
152
+
-`solar` - Solar radiation (W/m²)
153
+
-`feelsLike` - Apparent temperature based on wind and humidity
154
+
-`cape` - Convective Available Potential Energy
155
+
-`fireIndex` - Fire weather index
156
+
-`liquidAccumulation`, `snowAccumulation`, `iceAccumulation` - Precipitation by type
157
+
-`rainIntensity`, `snowIntensity`, `iceIntensity` - Intensity by precipitation type
158
+
-`currentDayIce`, `currentDayLiquid`, `currentDaySnow` - Accumulations for the current day
159
+
-`dawnTime`, `duskTime` - Civil twilight times
160
+
161
+
**New Metadata Fields:**
162
+
-`sourceTimes` - Model update timestamps
163
+
-`sourceIDX` - Grid coordinates for each model
164
+
-`version` - API version
165
+
-`processTime` - Request processing time
166
+
-`ingestVersion` - Data ingest version
167
+
-`nearestCity`, `nearestCountry`, `nearestSubNational` - Location information
168
+
169
+
**Day/Night Forecast Block:**
170
+
171
+
The library now supports the optional `day_night` forecast block which provides 12-hour forecast periods:
0 commit comments