Bowmark AIdocs

Weather forecast for a place

The daily forecast for any place on earth — high/low, precipitation and conditions, geocoded from a plain place name.

Also known as: forecast, temperature, rain, climate, weather forecast, will it rain, 5-day forecast, current weather

Call it

bowmark.weather.forecast(location: string, days?: number): Promise<ForecastResult>

Functions

FunctionWhat it does
forecastGeocodes a place name and returns its daily forecast (default 5 days, max 16 — Open-Meteo's own ceiling). Reports the resolved place name alongside what was asked for, since a name like…

Types

interface ForecastDay {
  date: string             // ISO date (YYYY-MM-DD), the location's own timezone
  tempMaxC: number
  tempMinC: number
  precipitationMm: number
  weatherCode: number       // Open-Meteo's own WMO code
  summary: string           // a short gloss of weatherCode, e.g. "light rain"
}

interface ForecastResult {
  location: string          // what the caller passed
  resolvedName: string      // the place name the geocoder actually resolved
  latitude: number
  longitude: number
  timezone: string
  days: ForecastDay[]
  warnings: string[]
}

Examples

// One place, five days by default.
const forecast = await bowmark.weather.forecast("Austin, TX");
log(`${forecast.resolvedName}: ${forecast.days[0].summary}, high ${forecast.days[0].tempMaxC}C`);
return forecast;

Providers behind it

None — this capability needs no site. It computes the answer, or reads a public API that publishes it.