This API provides a report on an individual's personality number based on their birth date. The report includes insights on the individual's level of confidence, sensitivity, and ways to improve their ability to project themselves confidently in public.
Guide:These languages are supported by this API. You can use them by passing Accept-Language header with a value of the language code.
Params | Data type | Descriptions |
date required month required year required full_name required | int int int string | date of birth, eg: 10 month of birth, eg: 5 year of birth, eg: 1990 name, eg: 'demo' |
{
"name": "Ajeet kanojia",
"birth_date": "2011-5-15",
"personality_number": 11,
"report": [
"With a Personality number 11, you don’t seem to be extremely confident of oneself. No wonder, being in the limelight makes you uncomfortable. You have grown up to be a nervous individual and little things can easily break your confidence. Only learning to deal with your anxiety could instill confidence in you. You are extremely sensitive at heart. You give more importance and attention to others and if you don’t take care of this trait, their views and opinions could easily hurt you. It is important that you work on your sensitive, gentler side especially when dealing with ruthless, rude people. You need to safeguard yourself and not let your vulnerability wreck you down emotionally. Only with practise and over a period of time, you will be able to project yourself confidently in the public domain."
]
}
var api = 'personality_number';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
var data = {
date: 6,
month:1,
year:2000,
full_name:"Kevin"
};
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);
});