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 |
[
{
"saham_id": 1,
"saham_name": "Punya",
"saham_degree": 242.6899
},
{
"saham_id": 2,
"saham_name": "Vidya",
"saham_degree": 20.482
},
{
"saham_id": 3,
"saham_name": "Yasas",
"saham_degree": 116.561
},
{
"saham_id": 4,
"saham_name": "Mitra",
"saham_degree": 279.7386
},
{
"saham_id": 5,
"saham_name": "Mahatmya",
"saham_degree": 318.4342
},
{
"saham_id": 6,
"saham_name": "Asha",
"saham_degree": 309.4401
},
{
"saham_id": 7,
"saham_name": "Samartha",
"saham_degree": 136.7244
},
{
"saham_id": 8,
"saham_name": "Bhrati",
"saham_degree": 344.5743
},
{
"saham_id": 9,
"saham_name": "Gauraa",
"saham_degree": 146.561
},
{
"saham_id": 10,
"saham_name": "Pitri",
"saham_degree": 269.0731
},
{
"saham_id": 11,
"saham_name": "Rajya",
"saham_degree": 324.0989
},
{
"saham_id": 12,
"saham_name": "Matri",
"saham_degree": 198.0312
},
{
"saham_id": 13,
"saham_name": "Putra",
"saham_degree": 203.1654
},
{
"saham_id": 14,
"saham_name": "Jeeva",
"saham_degree": 314.5743
},
{
"saham_id": 15,
"saham_name": "Karma",
"saham_degree": 149.4526
},
{
"saham_id": 16,
"saham_name": "Roga",
"saham_degree": 47.9949
},
{
"saham_id": 17,
"saham_name": "Kali",
"saham_degree": 108.4592
},
{
"saham_id": 18,
"saham_name": "Shastra",
"saham_degree": 39.4164
},
{
"saham_id": 19,
"saham_name": "Bandhu",
"saham_degree": 35.2667
},
{
"saham_id": 20,
"saham_name": "Mrityu",
"saham_degree": 290.9983
},
{
"saham_id": 21,
"saham_name": "Paradesa",
"saham_degree": 93.5909
},
{
"saham_id": 22,
"saham_name": "Artha",
"saham_degree": 222.4073
},
{
"saham_id": 23,
"saham_name": "Paradara",
"saham_degree": 251.9272
},
{
"saham_id": 24,
"saham_name": "Vanik",
"saham_degree": 35.2667
},
{
"saham_id": 25,
"saham_name": "Karyasiddhi",
"saham_degree": 87.4047
},
{
"saham_id": 26,
"saham_name": "Vivaha",
"saham_degree": 279.4401
},
{
"saham_id": 27,
"saham_name": "Santapa",
"saham_degree": 9.0889
},
{
"saham_id": 28,
"saham_name": "Sraddha",
"saham_degree": 89.5785
},
{
"saham_id": 29,
"saham_name": "Preeti",
"saham_degree": 74.3781
},
{
"saham_id": 30,
"saham_name": "Jadya",
"saham_degree": 227.5431
},
{
"saham_id": 31,
"saham_name": "Vyapara",
"saham_degree": 143.7193
},
{
"saham_id": 32,
"saham_name": "Satru",
"saham_degree": 136.7244
},
{
"saham_id": 33,
"saham_name": "Jalapatana",
"saham_degree": 266.2625
},
{
"saham_id": 34,
"saham_name": "Bandhana",
"saham_degree": 128.5726
},
{
"saham_id": 35,
"saham_name": "Apamrityu",
"saham_degree": 212.5457
},
{
"saham_id": 36,
"saham_name": "Labha",
"saham_degree": 336.4575
}
]
var api = 'varshaphal_saham_points';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
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',
"Accept-Language": language
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});