Skip to main content

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()​

static getWeatherFromPath(request): Promise<WeatherPathResponse>

Defined in: src/sdk/weather/WeatherClient.ts:41

Fetches weather forecasts along a path from the sim.

Parameters​

ParameterTypeDescription
requestWeatherPathRequestrequest input data.

Returns​

Promise<WeatherPathResponse>

A weather path data response.