The varshaphal_yoga API provides a list of yoga names along with their descriptions, powerfullness percentage, and prediction of their occurrence. The response includes information on whether a yoga is happening or not and details about the planets involved in the yoga.
Params | Data type | Descriptions |
day required month required year required hour required min required lat required lon required tzone required varshaphal_yearrequired | int int int int int float float float int | date of birth, eg: 10 month of birth, eg: 5 year of birth, eg: 1990 hour, eg: 19 minute, eg: 55 latitude, eg: 19.2056 longitude, eg: 25.2056 timezone, eg: 5.5 Varshaphal year for which you want the details, eg: 2017 |
[
{
"yog_name": "Ishkavala Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Induvara Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Ithasala Yoga",
"yog_description": "",
"is_yog_happening": true,
"powerfullness_percaentage": "",
"yog_prediction": "",
"planets": [
[
0,
2
],
[
5,
4
]
]
},
{
"yog_name": "Ishrafa Yoga",
"yog_description": "",
"is_yog_happening": true,
"powerfullness_percaentage": "",
"yog_prediction": "",
"planets": [
[
1,
0
],
[
0,
6
],
[
1,
2
],
[
1,
6
],
[
2,
6
],
[
3,
5
],
[
4,
6
]
]
},
{
"yog_name": "Nakta Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Yamaya Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Manahoo Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Kamboola Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Gairi-Kamboola Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Khallaasara Yoga",
"yog_description": "",
"is_yog_happening": true,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Radda Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Duhpal-Kutta Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Duttota Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Thambira Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Kutta Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
},
{
"yog_name": "Durupa Yoga",
"yog_description": "",
"is_yog_happening": false,
"powerfullness_percaentage": "",
"yog_prediction": ""
}
]
var api = 'varshaphal_yoga';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
day: 6,
month: 1,
year: 2000,
hour: 7,
min: 45,
lat: 19.132,
lon: 72.342,
tzone: 5.5,
};
var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
"authorization": auth,
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});