Find Shravana Festivals
Indulge in the aura of Shravana with the “Shravana Festivals” API, uncovering the astrological and cultural splendor of festivals that adorn the Indian calendar within the Panchang framework.
Step-by-Step Postman Integration
API Endpoint
POST https://astroapi-3.divineapi.com/indian-api/v2/shraavana-festivals
Returns all festival details from Shravana in the response.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization * | String | Your API Access Token e.g., Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key * | String | Your API key |
| year * | Integer | Year, e.g., 2023 |
| place | String | Place, e.g., New Delhi |
| lat * | Float | Latitude, e.g., 28.6139 |
| lon * | Float | Longitude, e.g., 77.2090 |
| tzone * | Float | Timezone, e.g., 5.5 — see: Timezone List |
200: OK Shravana Festivals Details fetched successfully
{
"success": 1,
"data": {
"year": "2023",
"kamika_ekadashi": {
"smartas": {
"date": "2023-07-13",
"parana": {
"start_time": "2023-07-14 05:32:49",
"end_time": "2023-07-14 08:17:49"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kamika%20Ekadashi.png"
},
"vaishnavas": {
"date": "2023-07-13",
"parana": {
"start_time": "2023-07-14 05:32:49",
"end_time": "2023-07-14 08:17:49"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kamika%20Ekadashi.png"
}
},
"hariyaali_teej": {
"dates": "2023-08-19",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Hariyaali%20Teej.png"
},
"naga_panchami": {
"date": "2023-08-21",
"puja_muhurat": {
"start_time": "2023-08-21 05:53:43",
"end_time": "2023-08-21 08:29:43"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Naga%20Panchami.png"
},
"putrida_ekadashi": {
"smartas": {
"date": "2023-08-27",
"parana": {
"start_time": "2023-08-28 05:57:22",
"end_time": "2023-08-28 08:30:22"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Putrida%20Ekadashi.png"
},
"vaishnavas": {
"date": "2023-08-27",
"parana": {
"start_time": "2023-08-28 05:57:22",
"end_time": "2023-08-28 08:30:22"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Putrida%20Ekadashi.png"
}
},
"gayatri_jayanti": {
"dates": "2023-08-31",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Gayatri%20Jayanti.png"
},
"kalki_jayanti": {
"date": "2023-08-22",
"puja_muhurat": {
"start_time": "2023-08-22 16:18:33",
"end_time": "2023-08-22 18:54:33"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Kalki%20Jayanti.png"
},
"hayagriva_jayanti": {
"date": "2023-08-30",
"puja_muhurat": {
"start_time": "2023-08-30 16:12:55",
"end_time": "2023-08-30 18:45:55"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Hayagriva%20Jayanti.png"
},
"narali_purnima": {
"dates": "2023-08-31",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Narali%20Purnima.png"
},
"sanskrit_divas": {
"dates": "2023-08-31",
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Sanskrit%20Divas.png"
},
"shraavana_maas": {
"start_date": "2023-07-04",
"end_date": "2023-08-31",
"start_image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Shraavana Maas Start.png",
"end_image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Shraavana Maas End.png"
},
"shraavana_somvaar_vrat": {
"dates": {
"1": "2023-07-10",
"2": "2023-07-17",
"3": "2023-07-24",
"4": "2023-07-31",
"5": "2023-08-07",
"6": "2023-08-14",
"7": "2023-08-21",
"8": "2023-08-28"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Shraavana%20Somvaar.png"
},
"mangla_gauri_vrat": {
"dates": {
"1": "2023-07-04",
"2": "2023-07-11",
"3": "2023-07-18",
"4": "2023-07-25",
"5": "2023-08-01",
"6": "2023-08-08",
"7": "2023-08-15",
"8": "2023-08-22",
"9": "2023-08-29"
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Mangla%20Gauri%20Vrat.png"
},
"varalaxmi_vrat": {
"date": "2023-08-25",
"puja_muhurat": {
"simha_lagna": {
"start_time": "2023-08-25 05:55:49",
"end_time": "2023-08-25 07:41:49"
},
"vrishchika_lagna": {
"start_time": "2023-08-25 12:18:49",
"end_time": "2023-08-25 14:36:49"
},
"kumbha_lagna": {
"start_time": "2023-08-25 18:23:49",
"end_time": "2023-08-25 19:50:49"
},
"vrishabha_lagna": {
"start_time": "2023-08-25 22:51:49",
"end_time": "2023-08-26 00:45:49"
}
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Varalaxmi%20Vrat.png"
},
"raksha_bandhan": {
"date": "2023-08-31",
"aparahna_muhurat": [],
"pradosh_muhurat": [],
"puja_muhurat": {
"start_time": "2023-08-31 05:58:53",
"end_time": "2023-08-31 07:05:00"
},
"bhadra_kaal": {
"bhadra": {
"start_time": "2023-08-30 10:59:00",
"end_time": "2023-08-30 21:02:00"
},
"bhadra_punchha": {
"start_time": "2023-08-30 17:31:00",
"end_time": "2023-08-30 18:31:00"
},
"bhadra_mukha": {
"start_time": "2023-08-30 18:31:00",
"end_time": "2023-08-30 20:12:00"
}
},
"image": "https://astroapi-6.divineapi.com/public/assets/vedic/festivals/images/main/Raksha%20Bandhan.png"
}
}
}
Code Integration Examples
Below are sample implementations for cURL, NodeJS, JavaScript (jQuery AJAX), and Python.
cURL
curl --location 'https://astroapi-3.divineapi.com/indian-api/v2/shraavana-festivals' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'year="2023"' \
--form 'Place="New Delhi"' \
--form 'lat="28.6139"' \
--form 'lon="77.2090"' \
--form 'tzone="5.5"'
NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v2/shraavana-festivals',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'year': '2023',
'Place': 'New Delhi',
'lat': '28.6139',
'lon': '77.2090',
'tzone': '5.5'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
JavaScript (jQuery AJAX)
var form = new FormData();
form.append("api_key", "Enter your API key");
form.append("year", "2023");
form.append("place", "New Delhi");
form.append("lat", "28.6139");
form.append("lon", "77.2090");
form.append("tzone", "5.5");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v2/shraavana-festivals",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer Bearer divine auth token"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});Python
import requests
url = "https://astroapi-3.divineapi.com/indian-api/v2/shraavana-festivals"
payload = {'api_key': '{Your API Key}',
'year': '2023',
'Place': 'New Delhi',
'lat': '28.6139',
'lon': '77.2090',
'tzone': '5.5'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)