
Connector Weatherapi
by caffeinelabs362f51ae96f0No license2 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today
MANDATORY recipe for every Caffeine build that reads weather data from a canister. The supported path is the `weatherapi-client` mops package (WeatherAPI.com) over outbound HTTPS, authenticated with a query-string API key. Hand-rolling `ic.http_request` calls to `api.weatherapi.com` is a FORBIDDEN anti-pattern — it bypasses the non-replicated-outcall safeguard (WeatherAPI bodies carry per-request clocks and fail consensus), the generated JSON decoding, and the API-key handling. Load this skill whenever the user, spec, or any prior task mentions weather, forecast, temperature, humidity, wind, rain, snow, conditions, sunrise, sunset, moon phase, astronomy, timezone, IP geolocation, marine or tide forecasts, or location autocomplete — and BEFORE writing any code that touches a weather endpoint.
- 362f51ae96f0Currentcommit 362f51aPublished Oct 8, 2026
Source and attribution
Source:caffeinelabs/skillsinskills/connector-weatherapiat commit362f51a
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from caffeinelabs/skills

Writing Motoko
caffeinelabs
Reference and architecture guidance for writing Motoko backend code on the Internet Computer, including mops tooling.

Migrating Motoko Actors
caffeinelabs
Guides Motoko canister actor migrations using the mops-managed migration chain for state and schema changes.

Troubleshooting Motoko Migrations
caffeinelabs
Reference for diagnosing failures in the Motoko migration chain, including compatibility errors, frozen files and converted projects.

Extension Querying Oql
caffeinelabs
Reference for querying an OQL-exposing canister via the icp CLI: read the schema, build JSON queries, parse Candid rows.

Extension Qr Code
caffeinelabs
Adds camera-based QR code scanning to Caffeine AI apps via a prefabricated React hook.

Extension Object Storage
caffeinelabs
Adds off-chain file and object storage with on-chain references to Caffeine AI Motoko canisters.