The general_ascendant_report API provides a report on a person's Ascendant or Rising sign. The report includes a description of the individual's personality traits, tendencies, strengths, and weaknesses based on their Ascendant sign. It also provides information on the spiritual lessons that the individual needs to learn based on their Ascendant sign.
Params | Data type | Descriptions |
day required month required year required hour required min required lat required lon required tzone required | int int int int int float float float | 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 |
{
"asc_report": {
"ascendant": "Aquarius",
"report": "People with Aquarius rising tend to be altruistic, friendly, yet detached, impersonal, humanitarian, sociable, intellectual, freedom-loving, rebellious, independent, and unusual. You are here to learn altruism, brotherhood, and working for the common good, to forget yourself and your needs for the sake of your friends, who can also be strangers. You have new and different ways of looking at things. You can be very original and inventive, perhaps eccentric or bohemian. You are prone to uncertain and sudden impulses. You tend to be very intuitive, possessing a good mind. You have organizing ability and are capable and practical. You are intelligent, but sometimes cold and calculating where feelings are concerned. There is a certain detachment about you. You cannot stand possessiveness and jealousy and you require plenty of freedom. Depending on the relative strengths of Saturn and Uranus in your chart, caution, coldness and selfishness may be exhibited (Saturn stronger) or there will be more altruism, freedom and free-flowingness (Uranus stronger). If Uranus is stronger, then the things of the spirit will be stronger than materialistic worldliness. Spiritual lesson to learn: Warmth (less head and more heart). Saturn and Uranus both rule Aquarius so Saturn and Uranus will be important in your chart."
}
}
var api = 'general_ascendant_report';
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);
});