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
+36-30Lines changed: 36 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,8 @@ dotnet build
43
43
44
44
---
45
45
## Configuration
46
-
Before using the SDK, you need to set your Solcast API key as an environment variable. You can register for an API key at Solcast Toolkit.
46
+
47
+
Before using the SDK, you need to set your Solcast API key as an environment variable. You can register for an API key at [Solcast Toolkit](https://toolkit.solcast.com.au/).
-`GetRadiationAndWeather`: Retrieves live solar radiation and weather data.
146
-
-`GetAdvancedPvPower`: Retrieves advanced PV power live data.
147
-
-`GetRooftopPvPower`: Retrieves live rooftop PV power data based on location and other parameters.
146
+
-`GetLiveRadiationAndWeather`: Retrieves live solar radiation and weather data.
147
+
-`GetLiveAdvancedPvPower`: Retrieves advanced PV power live data.
148
+
-`GetLiveRooftopPvPower`: Retrieves live rooftop PV power data based on location and other parameters.
148
149
### ForecastClient
149
-
-`GetForecast`: Retrieves forecast solar radiation and weather data for up to 14 days ahead.
150
-
-`GetRadiationAndWeather`: Retrieves forecast radiation and weather data for a specified location.
151
-
-`GetAdvancedPvPower`: Retrieves advanced PV power forecasts with customizable options.
152
-
-`GetRooftopPvPower`: Retrieves rooftop PV power forecast data based on location and other parameters.
150
+
-`GetForecastRadiationAndWeather`: Retrieves irradiance and weather forecasts for the requested location from the present up to 14 days ahead
151
+
-`GetForecastAdvancedPvPower`: Retrieves advanced PV power forecasts with customizable options.
152
+
-`GetForecastRooftopPvPower`: Retrieves rooftop PV power forecast data based on location and other parameters.
153
153
### HistoricClient
154
-
-`GetRadiationAndWeather`: Retrieves historic solar radiation and weather data for a specified time range.
155
-
-`GetAdvancedPvPower`: Retrieves advanced PV power historical data.
156
-
-`GetRooftopPvPower`: Retrieves rooftop PV power historical data.
154
+
-`GetHistoricRadiationAndWeather`: Retrieves historic solar radiation and weather data for a specified time range.
155
+
-`GetHistoricAdvancedPvPower`: Retrieves advanced PV power historical data.
156
+
-`GetHistoricRooftopPvPower`: Retrieves rooftop PV power historical data.
157
157
### TmyClient
158
-
-`GetRadiationAndWeather`: Retrieves TMY irradiance and weather data for a specified location.
159
-
-`GetAdvancedPvPower`: Retrieves advanced PV power TMY data.
160
-
-`GetRooftopPvPower`: Retrieves TMY rooftop PV power data.
158
+
-`GetTmyRadiationAndWeather`: Retrieves TMY irradiance and weather data for a specified location.
159
+
-`GetTmyAdvancedPvPower`: Retrieves advanced PV power TMY data.
160
+
-`GetTmyRooftopPvPower`: Retrieves TMY rooftop PV power data.
161
161
### AggregationClient
162
-
-`GetLiveAggregation`: Retrieves live grid aggregation data for up to 7 days.
163
-
-`GetForecastAggregation`: Retrieves forecast grid aggregation data for up to 7 days.
164
-
### PvPowerSitesClient
162
+
-`GetLiveAggregations`: Retrieves live grid aggregation data for up to 7 days.
163
+
-`GetForecastAggregations`: Retrieves forecast grid aggregation data for up to 7 days.
164
+
### PvPowerSiteClient
165
165
-`GetPvPowerSites`: Retrieves a list of all available PV power sites.
166
166
-`GetPvPowerSite`: Retrieves metadata for a specific PV power site by its resource ID.
167
167
-`PostPvPowerSite`: Creates a new PV Power Site for use with advanced PV power model.
168
168
-`PatchPvPowerSite`: Partially updates the specifications of an existing PV power site.
169
169
-`PutPvPowerSite`: Overwrites an existing PV power site specifications.
170
170
-`DeletePvPowerSite`: Deletes an existing PV power site.
171
171
172
-
## Optional: Suppressing SDK Update Checks
173
-
To suppress the SDK's automatic update check, set the SUPPRESS_SDK_UPDATE_CHECK environment variable to true:
172
+
## Optional: Enabling SDK Update Checks
173
+
By default, the SDK does not check for updates during runtime. To enable automatic update checking, you can pass `true` for the `checkForUpdates` parameter when creating client instances:
Alternatively, to enable update checking automatically for all client instances, set the CHECK_SDK_UPDATE environment variable to true:
174
180
175
181
Windows PowerShell:
176
182
```powershell
177
-
$env:SUPPRESS_SDK_UPDATE_CHECK = "true"
183
+
$env:CHECK_SDK_UPDATE = "true"
178
184
```
179
185
180
186
Linux/macOS:
181
187
```bash
182
-
exportSUPPRESS_SDK_UPDATE_CHECK="true"
188
+
exportCHECK_SDK_UPDATE="true"
183
189
```
184
-
When this flag is set, the SDK will skip checking for new versions during runtime. This is particularly useful automated environments where update messages are not necessary.
190
+
When this flag is set, the SDK will automatically check for new versions during runtime regardless of the `checkForUpdates` parameter value.
185
191
186
192
## Contributing
187
193
We welcome contributions to this SDK! If you'd like to contribute, please submit a Pull Request or open an issue with any suggestions or bug reports.
0 commit comments