Varshaphal/varshaphal_mudda_dasha
API Endpoint
varshaphal_mudda_dasha
Method & URL
Method | Full URL |
---|---|
POST | https://json.astrologyapi.com/v1/varshaphal_mudda_dasha |
Response Data
[
{
"planet": "SUN",
"duration": 18,
"dasha_start": "3-2-2017,12:37:41",
"dasha_end": "21-2-2017,18:55:41"
},
{
"planet": "MOON",
"duration": 30,
"dasha_start": "21-2-2017,18:55:41",
"dasha_end": "24-3-2017,5:25:41"
},
{
"planet": "MARS",
"duration": 21,
"dasha_start": "24-3-2017,5:25:41",
"dasha_end": "14-4-2017,12:46:41"
},
{
"planet": "RAHU",
"duration": 54,
"dasha_start": "14-4-2017,12:46:41",
"dasha_end": "8-6-2017,7:40:41"
},
{
"planet": "JUPITER",
"duration": 48,
"dasha_start": "8-6-2017,7:40:41",
"dasha_end": "27-7-2017,0:28:41"
},
{
"planet": "SATURN",
"duration": 57,
"dasha_start": "27-7-2017,0:28:41",
"dasha_end": "22-9-2017,20:25:41"
},
{
"planet": "MERCURY",
"duration": 51,
"dasha_start": "22-9-2017,20:25:41",
"dasha_end": "13-11-2017,14:16:41"
},
{
"planet": "KETU",
"duration": 21,
"dasha_start": "13-11-2017,14:16:41",
"dasha_end": "4-12-2017,21:37:41"
},
{
"planet": "VENUS",
"duration": 60,
"dasha_start": "4-12-2017,21:37:41",
"dasha_end": "3-2-2018,18:37:41"
}
]
Params | Data type | Descriptions |
day month year hour min lat lon tzone varshaphal_year |
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 Solar year for which you want the details, eg: 2017 |
var api = 'API_ENDPOINT_HERE';
var userId = 'YOUR_USER_ID';
var apiKey = 'YOUR_API_KEY';
var data = {
day:12,
month:3,
year:1992,
hour:2,
min:23,
lat:19.132,
lon:72.342,
tzone:5.5
};
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
"authorization": "Basic " + btoa(userId+":"+apiKey),
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});
require_once 'VedicRishiClient.php';
$userId = "";
$apiKey = "";
$data = array(
'date' => 25,
'month' => 12,
'year' => 1988,
'hour' => 4,
'minute' => 0,
'latitude' => 25.123,
'longitude' => 82.34,
'timezone' => 5.5
);
$resourceName = 'API_ENDPOINT_HERE';
$vedicRishi = new VedicRishiClient($userId, $apiKey);
$responseData = $vedicRishi->call($resourceName, $data['date'], $data['month'], $data['year'], $data['hour'], $data['minute'], $data['latitude'], $data['longitude'], $data['timezone']);
echo $responseData;
Download PHP Client