Class: WeatherClient
Defined in: src/sdk/weather/WeatherClient.ts:22
Class for loading weather forecasts from the simulator
Constructors
Constructor
new WeatherClient():
WeatherClient
Returns
WeatherClient
Methods
getWeatherFromPath()
staticgetWeatherFromPath(request):Promise<WeatherPathResponse>
Defined in: src/sdk/weather/WeatherClient.ts:41
Fetches weather forecasts along a path from the sim.
Parameters
| Parameter | Type | Description |
|---|---|---|
request | WeatherPathRequest | request input data. |
Returns
Promise<WeatherPathResponse>
A weather path data response.