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
Output
Encoding
application/jsonTry It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
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."
}