To get the Daily Bible Quote for the day, just call the URL with just one parameter – Date (added to the end of the URL). The Malayalam Bible Quote is from the POC Bible, while the English Bible Quote is from the RSV Bible.
https://syrocalendar.tk/SyroMalabarCalendar/?Mode=JSON&Type=DailyQuotes&Date=where you have to provide the Date in dd-mm-yyyy format.
https://syrocalendar.tk/SyroMalabarCalendar/?Mode=JSON&Type=DailyQuotes&Date=
https://syrocalendar.tk/SyroMalabarCalendar/?Mode=JSON&Type=DailyQuotes&Date=18-02-2021
You will receive a JSON object that contains the following info:
<div id="lblVerse"></div> <!-- SYRO CALENDAR BIBLE QUOTES --> <script> var getJSON = function(url, callback) { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'json'; xhr.onload = function() { var status = xhr.status; if (status == 200) { callback(null, xhr.response); } else { callback(status); } }; xhr.send(); }; var today = new Date(); var dd = String(today.getDate()).padStart(2, '0'); var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0! var yyyy = today.getFullYear(); today = dd + '-' + mm + '-' + yyyy; getJSON('https://syrocalendar.tk/SyroMalabarCalendar/?Mode=JSON&Type=DAILYQUOTES&Date=' + today, function(err, tmtm) { if (err != null) { console.error(err); } else { // **Syro Malabar Calendar API. For more info, visit https://SyroCalendar.tk ** var ContentEvents = ""; if(tmtm.Quote_Eng != null) ContentEvents = "<p>" + tmtm.Quote_Eng + "</p>"; if(tmtm.Quote_Mal != null) ContentEvents = ContentEvents + "<br><p>" + tmtm.Quote_Mal + "</p>"; document.getElementById("lblVerse").innerHTML = ContentEvents; } }); </script>
Please don’t forget to provide a link to SyroCalendar.tk below the Widget you implemented. It could be as simple asPowered by SyroCalendar