Fasting Month Endpoint
Get fasting rules for a specific month.
Request
GET /fasting/month/{year}/{month}
Parameters:
| Parameter | Type | In | Description |
|---|---|---|---|
year |
integer | path | Year in YYYY format. |
month |
integer | path | Month number (1-12). |
lang |
string | query | ru (default) or en. |
Constraints: supported years 1583–3000.
Response
{
"meta": {
"year": 2024,
"month": 3,
// ...
},
"data": {
"2024-03-01": { /* Fasting Data */ }
// ...
}
}
Example (JavaScript)
fetch(`https://api.ispovednik.org/api/v1/fasting/month/2024/3?lang=en`)
.then(response => response.json())
.then(data => console.log(data));