Fasting Range Endpoint

Get fasting rules for a custom range of dates.

Request

GET /fasting/range

Parameters:

Parameter Type In Description
from string query Start date YYYY-MM-DD.
to string query End date YYYY-MM-DD.
lang string query ru (default) or en.

Constraints:

Response

{
  "meta": {
    "from": "2024-03-18",
    "to": "2024-03-24",
    //...
  },
  "data": {
    // ...
  }
}

Example (JavaScript)

fetch(`https://api.ispovednik.org/api/v1/fasting/range?from=2024-03-18&to=2024-03-24&lang=en`)
  .then(response => response.json())
  .then(data => console.log(data));