MeiroDocs

Tools

+ Request (application/json)

Section: Group Tools. Base URL: https://instance_name.meiro.io/api/.

Datetime From Text [/tools/datetime_from_text]

Retrieve Text Translated To Dates [POST]

  • Request (application/json)
    • Headers

      X-Access-Token: 1234567890abcdef

    • Body

[
    {
        "text": "1 day ago",
        "type": "date"
    },
    {
        "text": "1 hour ago",
        "type": "datetime"
    },
    {
        "text": "invalid date text",
        "type": "datetime"
    }
]
  • Response 200 (application/json)
[
    "1 day ago": "2021-03-22",
    "1 hour ago": "2021-03-23 12:00:00",
    "invalid date text": "invalid"
]

On this page