Skip to content

Json To Timeline API

POST https://api.findutils.com/api/tools/json-to-timeline/execute

Generate the HTML for a timeline (div.timeline with .timeline-event/.event-marker/.event-content classes) from JSON of the form {"title","orientation","events":[{"date","title","description","color"}]}. Returns the HTML, the orientation, and a summary of each event.

Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys

Request body

application/json
  • json

    string required

    Timeline JSON: {"title"?: string, "orientation"?: "vertical"|"horizontal", "events": [{"date": string, "title": string, "description"?, "color"?: "#hex"}]}.

  • orientation

    string optional

    Override the orientation from the JSON. Default: the JSON "orientation", else "vertical". One of vertical · horizontal.

Example arguments

Verified
{
  "json": {
    "title": "History",
    "events": [
      {
        "date": "2020",
        "title": "Founded",
        "color": "#10b981"
      },
      {
        "date": "2021",
        "title": "Launch"
      }
    ]
  }
}