🌦️
Check the Weather
info.weatherThe AlmanacLook-upsLooks up the weather in any town or city — “Paris”, “Austin, TX”, “London, Ontario”, even “51.5, -0.12”. You get the conditions now with an emoji, the temperature and what it feels like, highs and lows for the next 24 hours, wind, humidity, the local time there, and a ready-made five-day forecast. {{weather.summary}} is a whole line ready to send.
When to use this
- →Reply with **{{weather.place}}** {{weather.summary}} for a one-line report
- →{{weather.forecast}} is five lines — one per day — perfect for a /forecast spell
- →Add a country or state when a name is shared: “Paris, TX”, “Portland, Maine”
- →{{weather.time}} is the local time there — handy for “what time is it in Tokyo?”
On the canvas
This is what Check the Weather looks like when you place it on your flow. Each field below is something you configure in the inspector panel.
🌦️Look-ups
Check the Weather
info.weatherplacerequired
e.g. {{input.options.city}} or Paris, France
units
select…
asrequired
weather
found
missing
error
Config fields
| Field | Type | Req | What it does |
|---|---|---|---|
placee.g. {{input.options.city}} or Paris, France | text | yes | Where 📍 |
units | select | — | Units 🌡️ |
asweather | text | yes | Save it as ✨ |
Sparks this piece adds
After this piece runs, these values are available as sparks in every node downstream.
{{weather.summary}}stringOne line: ☁️ Cloudy, 11°C (feels like 10°C) · ↑13° ↓8° · 💨 12 km/h NW{{weather.place}}stringWhere, like “Austin, Texas, United States”{{weather.city}}stringJust the town or city{{weather.country}}stringThe country{{weather.emoji}}stringAn emoji for the weather now{{weather.condition}}stringThe weather now in words, like Light rain{{weather.temp}}numberTemperature now{{weather.feels}}numberWhat it feels like{{weather.high}}numberHighest in the next 24 hours{{weather.low}}numberLowest in the next 24 hours{{weather.unit}}string°C or °F{{weather.humidity}}numberHumidity, in %{{weather.wind}}numberWind speed{{weather.windUnit}}stringkm/h or mph{{weather.windDir}}stringWhere the wind comes from, like NW{{weather.rain}}numberRain in the next hour (mm or inches){{weather.uv}}numberUV index on a clear sky{{weather.forecast}}stringFive lines, one per day: **Mon** ☀️ 15° / 9° · Clear sky{{weather.tomorrow.high}}numberTomorrow's high{{weather.tomorrow.low}}numberTomorrow's low{{weather.tomorrow.emoji}}stringTomorrow's weather as an emoji{{weather.tomorrow.condition}}stringTomorrow's weather in words{{weather.time}}stringThe local time there, like 14:05{{weather.zone}}stringIts time zone, like Asia/Tokyo{{weather.credit}}string“Weather data from MET Norway”{{weather.query}}stringWhat was looked up{{weather.error}}stringWhy it couldn't be looked upOutput ports
foundThe weather is in your spark — {{weather.summary}}
missingNothing matched — {{…query}} says what they asked for
errorCouldn't ask right now (busy or down) — {{…error}} says why
📐
In TypeScript, this would be…
Not something you need to write — just a look at what Kitcord does for you.
TypeScript
// Kitcord finds the place offline, then asks MET Norway for the forecast
const [lat, lon] = [35.69, 139.69]; // "Tokyo"
const res = await fetch(
`https://api.met.no/weatherapi/locationforecast/2.0/complete?lat=${lat}&lon=${lon}`,
{ headers: { "User-Agent": "my-bot/1.0 (me@example.com)" } },
);
const now = (await res.json()).properties.timeseries[0].data;
const temp = Math.round(now.instant.details.air_temperature); // {{weather.temp}}
const sky = now.next_1_hours.summary.symbol_code; // "cloudy" → ☁️ {{weather.condition}}More Look-ups pieces