connector-weatherapi
Installation
SKILL.md
Weather data with weatherapi-client
Motoko bindings for WeatherAPI.com, generated
from its OpenAPI spec. All nine operations live in a single module,
Apis/APIsApi, and all nine are read-only GETs.
Backend
A canister that reads the current temperature and a three-day maximum series. Non-replicated is the default, so you only supply the key:
import { realtimeWeather; forecastWeather } "mo:weatherapi-client/Apis/APIsApi";
import { type Config; defaultConfig } "mo:weatherapi-client/Config";
import Array "mo:core/Array"; // in scope so `days.map(…)` dot notation resolves