Western Transit/tropical_transits_timing/daily
API Endpoint
tropical_transits_timing/daily
Method & URL
Method | Full URL |
---|---|
POST | https://json.astrologyapi.com/v1/tropical_transits_timing/daily |
house_type
'placidus', 'koch', 'porphyry', 'equal', 'whole_sign', 'topocentric', 'sripati', 'horizontal', 'campanus'
node_type
true','mean'
Response Data
{
"transit_date": "2018-07-23",
"transit_relation": [
{
"transit_planet": "Moon",
"natal_planet": "Saturn",
"aspect_type": "Sextile",
"start_time": "2018-07-22 20:15:27",
"exact_time": "2018-07-23 08:05:31",
"end_time": "2018-07-23 20:00:47"
},
{
"transit_planet": "Mercury",
"natal_planet": "Moon",
"aspect_type": "Sextile",
"start_time": "2018-07-18 20:17:53",
"exact_time": "2018-07-20 21:11:35",
"end_time": "2018-07-24 08:23:52"
},
{
"transit_planet": "Mercury",
"natal_planet": "Node",
"aspect_type": "Trine",
"start_time": "2018-07-19 04:21:42",
"exact_time": "2018-07-21 08:12:36",
"end_time": "2018-09-02 06:17:49"
},
{
"transit_planet": "Saturn",
"natal_planet": "Uranus",
"aspect_type": "Square",
"start_time": "2018-01-21 20:43:31",
"exact_time": "2018-10-29 20:03:47",
"end_time": "2018-11-10 12:40:22"
},
{
"transit_planet": "Uranus",
"natal_planet": "Mars",
"aspect_type": "Conjunction",
"start_time": "2018-07-01 01:03:24",
"exact_time": "2019-05-01 01:46:41",
"end_time": "2019-05-19 00:49:33"
}
]
}
Params | Data type | Descriptions |
day month year hour min lat lon tzone house_type node_type prediction_timezone |
int int int int int float float float string string 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 Default : placidus Default : mean prediction timezone eg : 0 for london |
var userId = '';
var apiKey = '';
var data = 'JSON Request Data';
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)
});
// Returns A promiss
return( request.then( function(resp){
return resp;
}, function(err){
return 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 = "astro_details";
$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