Liturgical Bible Readings



To get the Syro Malabar Liturgical Bible Readings for the Day, follow these steps.
Note : Certain days might have multiple bible readings for each celebratory event. This API will provide all those reading details.


This API provides info from the Syro-Malabar Panchangam (Set 1).

 


Link the Script File

Add the below line in the <head> tag of your website.
You only need to add the below line only once per webpage, in case if you have implemented other widgets in the same webpage.

<script src="https://syrocalendar.tk/API/SyroCalendar.min.1.0.2.js"></script>

Place the Div’s

Paste the below code in the <body> tag of your website, where you need the information to be shown.

<div id="SyroCalendar_LiturgicalReadings_Mal">Loading...</div>
<div id="SyroCalendar_LiturgicalReadings_Eng">Loading...</div>

Note : You don’t need all of the above div’s. Only place the one’s you need in your website.



Result

You will receive todays seasonal readings in the following div’s :

DivDetail
SyroCalendar_LiturgicalReadings_MalLiturgical Readings in Malayalam
SyroCalendar_LiturgicalReadings_EngLiturgical Readings in English


HTML Example Code


<html>
<head>
	<title>SyroCalendar Demo - Liturgical Bible Readings</title>
	<script src="https://syrocalendar.tk/API/SyroCalendar.min.1.0.2.js"></script>
</head>

<body>
	<div id="SyroCalendar_LiturgicalReadings_Mal">Loading...</div>
	<div id="SyroCalendar_LiturgicalReadings_Eng">Loading...</div>
	<br>
	<em>Powered by <a href="https://SyroCalendar.tk" target="_blank">SyroCalendar</a></em>
</body>
</html>

Please don’t forget to provide a link to SyroCalendar.tk below the Widget you implemented. It could be as simple as
Powered by SyroCalendar
(If you have multiple widgets on the same page, just 1 link will suffice)



ADVANCED



To get the JSON Data

To get the JSON data (without HTML Elements), make sure you have the Script file in the <head> tag, and call the below JavaScript function. Certain days might have multiple bible readings for each celebratory event. This JS Function will provide all those reading details, as an array of JSON objects. This function returns a JSON Object

<script>var BibleReadings = GetLiturgicalReadingsJSON();</script>


JSON Result

You will get the following data for each JSON Array Object :

DivDetail
SearchDateThe Date for which the Result was retrieved for
SeasonName_Eng_FullFull Name of the Season in English
SeasonName_Mal_FullFull Name of the Season in Malayalam
DayDescription_EngWeek Number with Day in English
DayDescription_MalWeek Number with Day in Malayalam
ReadingTypeType of Bible Reading (if there are multiple readings for a day)
Reading1_EngFirst Reading Chapter in English
Reading1_MalFirst Reading Chapter in Malayalam
Reading1_Title_EngFirst Reading Title in English
Reading1_Title_MalFirst Reading Title in Malayalam
Reading2_EngSecond Reading Chapter in English
Reading2_MalSecond Reading Chapter in Malayalam
Reading2_Title_EngSecond Reading Title in English
Reading2_Title_MalSecond Reading Title in Malayalam
Reading3_EngThird Reading Chapter in English
Reading3_MalThird Reading Chapter in Malayalam
Reading3_Title_EngThird Reading Title in English
Reading3_Title_MalThird Reading Title in Malayalam
ReadingGospal_EngGospal Reading Chapter in English
ReadingGospal_MalGospal Reading Chapter in Malayalam
ReadingGospal_Title_EngGospal Reading Title in English
ReadingGospal_Title_MalGospal Reading Title in Malayalam

JSON Example Code


<html>
<head>
	<title>SyroCalendar Demo - Liturgical Bible Readings</title>
	<script src="https://syrocalendar.tk/API/SyroCalendar.min.1.0.2.js"></script>
</head>

<body>
	<script>
	
		var BibleReadings = GetLiturgicalReadingsJSON();
		alert("The First Reading Chapter is : " + BibleReadings[0].Reading1_Mal);
		
	</script>
	<br>
	<em>Powered by <a href="https://SyroCalendar.tk" target="_blank">SyroCalendar</a></em>
</body>
</html>

Please don’t forget to provide a link to SyroCalendar.tk below the Widget you implemented. It could be as simple as
Powered by SyroCalendar
(If you have multiple widgets on the same page, just 1 link will suffice)