AGENT SKILL

call-sample-co-api

Call the Sample Co Weather API for forecasts, current conditions, severe-weather alerts and weather-dependent decisions at a place. Use when a task needs weather data for coordinates or a place name, or code that integrates the Weather API.

License 许可
MIT
所属仓库
cloudflare/nimbus
最近更新
2026-11-14
Stars
★ 1.8k
Forks
62

01 前言 Front Matter

name
call-sample-co-api
description
Call the Sample Co Weather API for forecasts, current conditions, severe-weather alerts and weather-dependent decisions at a place. Use when a task needs weather data for coordinates or a place name, or code that integrates the Weather API.

03 SKILL.md 正文

Call the Sample Co Weather API

Docs: https://demo.nimbus-docs.com/llms.txt. Every page has a Markdown version at <page>/index.md.

When to use it

  • Weather now, or forecasts from minute-by-minute rain (next two hours) to daily forecasts (sixteen days).
  • Severe-weather alerts from national services, polled or pushed to a webhook.
  • Decisions that depend on the weather: frost risk, spray windows, soil conditions, lightning nearby.
  • Also: air quality and pollen, marine (waves, tides, sea temperature), aviation (METAR, TAF), tropical cyclones, solar and wind resource, radar and satellite tiles, history back to 1940.
  • Not for: forecasts beyond sixteen days, or an official aviation briefing.

Request basics

Common operations

Find a place, then use its coordinates:

curl "https://api.weather.example/v2/locations/search?q=Oslo" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/locations/search-locations/index.md

A daily forecast (days up to 16):

curl "https://api.weather.example/v2/forecasts/daily?latitude=59.91&longitude=10.75&days=7" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/forecasts/get-daily-forecast/index.md

Active alerts, filtered by country and severity:

curl "https://api.weather.example/v2/alerts?country=NO&severity=severe" -H "Authorization: Bearer $WEATHER_API_KEY"

Reference: https://demo.nimbus-docs.com/api/alerts/list-active-alerts/index.md

Everything else

Every endpoint, grouped by product: https://demo.nimbus-docs.com/api/index.md. The OpenAPI document: https://demo.nimbus-docs.com/api/openapi.json.

04 同仓库更多 Skills