Get Aprakashiy Upgraha
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/aprakashiy_upgraha |
{
"status_code": 200,
"status": true,
"data": {
"dhuma": {
"name": "Dhuma",
"deg": 281.76403653333335,
"norm_deg": {
"full": "11:45:51",
"deg": "11",
"min": "45",
"sec": "51"
},
"sign": 10,
"sign_name": "Capricorn",
"house": 3
},
"vyatipat": {
"name": "Vyatipat",
"deg": 78.23596346666665,
"norm_deg": {
"full": "18:14:09",
"deg": "18",
"min": "14",
"sec": "09"
},
"sign": 3,
"sign_name": "Gemini",
"house": 8
},
"parivesh": {
"name": "Parivesh",
"deg": 258.23596346666665,
"norm_deg": {
"full": "18:14:09",
"deg": "18",
"min": "14",
"sec": "09"
},
"sign": 9,
"sign_name": "Sagittarius",
"house": 2
},
"indrachap": {
"name": "Indrachap",
"deg": 101.76403653333335,
"norm_deg": {
"full": "11:45:51",
"deg": "11",
"min": "45",
"sec": "51"
},
"sign": 4,
"sign_name": "Cancer",
"house": 9
},
"upketu": {
"name": "Upketu",
"deg": 118.43070320333334,
"norm_deg": {
"full": "28:25:51",
"deg": "28",
"min": "25",
"sec": "51"
},
"sign": 4,
"sign_name": "Cancer",
"house": 9
},
"kala": {
"name": "Kala",
"deg": 227.6628587,
"norm_deg": {
"full": "17:39:46",
"deg": "17",
"min": "39",
"sec": "46"
},
"sign": 8,
"sign_name": "Scorpio",
"house": 1
},
"paridhi": {
"name": "Paridhi",
"deg": 248.3119756,
"norm_deg": {
"full": "08:18:43",
"deg": "08",
"min": "18",
"sec": "43"
},
"sign": 9,
"sign_name": "Sagittarius",
"house": 2
},
"mrityu": {
"name": "Mrityu",
"deg": 271.2738214,
"norm_deg": {
"full": "01:16:26",
"deg": "01",
"min": "16",
"sec": "26"
},
"sign": 10,
"sign_name": "Capricorn",
"house": 3
},
"ardhaprahara": {
"name": "Ardhaprahara",
"deg": 298.3368515,
"norm_deg": {
"full": "28:20:13",
"deg": "28",
"min": "20",
"sec": "13"
},
"sign": 10,
"sign_name": "Capricorn",
"house": 3
},
"yamaghaṇṭka": {
"name": "Yamaghaṇṭka",
"deg": 147.3109777,
"norm_deg": {
"full": "27:18:40",
"deg": "27",
"min": "18",
"sec": "40"
},
"sign": 5,
"sign_name": "Leo",
"house": 10
},
"kodanda": {
"name": "Kodanda",
"deg": 167.7504812,
"norm_deg": {
"full": "17:45:02",
"deg": "17",
"min": "45",
"sec": "02"
},
"sign": 6,
"sign_name": "Virgo",
"house": 11
},
"gulika": {
"name": "Gulika",
"deg": 187.9844718,
"norm_deg": {
"full": "07:59:04",
"deg": "07",
"min": "59",
"sec": "04"
},
"sign": 7,
"sign_name": "Libra",
"house": 12
},
"hora_lagna": {
"name": "Hora Lagna",
"deg": 43.910703199999965,
"norm_deg": {
"full": "13:54:39",
"deg": "13",
"min": "54",
"sec": "39"
},
"sign": 2,
"sign_name": "Taurus",
"house": 7
},
"ghatika_lagna": {
"name": "Ghatika Lagna",
"deg": 67.13070319999997,
"norm_deg": {
"full": "07:07:51",
"deg": "07",
"min": "07",
"sec": "51"
},
"sign": 3,
"sign_name": "Gemini",
"house": 8
},
"bhava_lagna": {
"name": "Bhava Lagna",
"deg": 276.1707032,
"norm_deg": {
"full": "06:10:15",
"deg": "06",
"min": "10",
"sec": "15"
},
"sign": 10,
"sign_name": "Capricorn",
"house": 3
}
}
}
Params | Data Type | Description | Example |
---|---|---|---|
day | int | Date of Birth | 15 |
month | int | Month of Birth | 9 |
year | int | Year of Birth | 1994 |
hour | int | Hour of Birth | 12 |
min | int | Min of Birth | 30 |
lat | float | Latitude of Birth Place | 28.6139 |
lon | float | Longitude of Birth Place | 77.1025 |
tzone | float | Timezone of Birth Place | 5.5 |
# cURL Request Example
curl --location --request POST 'https://json.apireports.com/v1/aprakashiy_upgraha' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5
}'
# END
/* JavaScript Request Example */
var apiEndPoint = "aprakashiy_upgraha";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5
};
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var request = $.ajax({
url: url,
method: "POST",
dataType:'json',
headers: {
"Authorization": "Basic " + btoa(userId+":"+apiKey),
"Accept-Language": "en",
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then(
function(resp){
console.log(resp);
},
function(err){
console.log(err);
}
);
/* END */
<?php
/* PHP Request Example */
$apiEndPoint = "aprakashiy_upgraha";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
"day" => 15,
"month" => 9,
"year" => 1994,
"hour" => 12,
"min" => 30,
"lat" => 28.6139,
"lon" => 77.1025,
"tzone" => 5.5
);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url.$apiEndPoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$header[] = 'Authorization: Basic '. base64_encode($userId.":".$apiKey);
$header[] = 'Accept-Language: en';
$header[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$error = curl_error($ch);
$http_code = curl_getinfo($ch ,CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
/* END */
# Python Request Example
import requests
import json
apiEndPoint = "aprakashiy_upgraha";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint
data = json.dumps({
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5
})
headers = {
'Accept-Language': 'en',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, auth=(userId, apiKey),data=data)
print(response.text)
# END
/* NodeJS Request Example */
var request = require('request');
var apiEndPoint = "aprakashiy_upgraha";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var options = {
'method': 'POST',
'url': url,
'auth': {
'user': userId,
'password': apiKey
},
'headers': {
'Accept-Language': 'en',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"day": 15,
"month": 9,
"year": 1994,
"hour": 12,
"min": 30,
"lat": 28.61390000000000100044417195022106170654296875,
"lon": 77.1025000000000062527760746888816356658935546875,
"tzone": 5.5
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
/* END */