Skip to Content
Anuma SDKClientInternalFunctionspostApiV1PreprocessorsWeather

postApiV1PreprocessorsWeather

postApiV1PreprocessorsWeather<ThrowOnError>(options: Options<PostApiV1PreprocessorsWeatherData, ThrowOnError>): RequestResult<PostApiV1PreprocessorsWeatherResponses, PostApiV1PreprocessorsWeatherErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1345 

Get weather

Extracts a location name from the prompt, geocodes it via Open-Meteo, and returns current conditions plus a short daily forecast.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1PreprocessorsWeatherData, ThrowOnError>

Returns

RequestResult<PostApiV1PreprocessorsWeatherResponses, PostApiV1PreprocessorsWeatherErrors, ThrowOnError>

Last updated on