fyi.wed.getForecast

wed.fyi

Documentation

Fetches a weather forecast for an event identified by an AT URI record. Accepts format=svg or format=png to return an SVG or PNG meteogram instead of JSON.

main query

Fetches a weather forecast for an event identified by an AT URI record. Accepts format=svg or format=png to return an SVG or PNG meteogram instead of JSON.

Parameters

format string Optional

Output format: 'json' (default), 'svg', or 'png' (as base64).

units string Optional

Units for the forecast: 'metric' (default) or 'imperial'.

uri string Required

The AT URI of the event record (fyi.wed.event or community.lexicon.calendar.event).

Output

Encodingapplication/json
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Output format: 'json' (default), 'svg', or 'png' (as base64).
Units for the forecast: 'metric' (default) or 'imperial'.
The AT URI of the event record (fyi.wed.event or community.lexicon.calendar.event).
View raw schema
{
  "type": "query",
  "output": {
    "encoding": "application/json",
    "description": "Weather forecast JSON when format is omitted or 'json', an SVG meteogram when format is 'svg', or a base64-encoded PNG data URI when format is 'png'."
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "uri": {
        "type": "string",
        "maxLength": 2048,
        "description": "The AT URI of the event record (fyi.wed.event or community.lexicon.calendar.event)."
      },
      "units": {
        "enum": [
          "metric",
          "imperial"
        ],
        "type": "string",
        "maxLength": 16,
        "description": "Units for the forecast: 'metric' (default) or 'imperial'."
      },
      "format": {
        "enum": [
          "json",
          "svg",
          "png"
        ],
        "type": "string",
        "maxLength": 16,
        "description": "Output format: 'json' (default), 'svg', or 'png' (as base64)."
      }
    }
  },
  "description": "Fetches a weather forecast for an event identified by an AT URI record. Accepts format=svg or format=png to return an SVG or PNG meteogram instead of JSON."
}

Lexicon Garden

@