This API predicts your personal day number and provides a daily report based on it. The report includes advice on self-compassion, forgiveness, and being prepared for unexpected events. It also emphasizes the importance of maintaining a balance in legal and computer matters.
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' |
{
"personal_day_number": 11,
"considered_date": 11,
"report": [
"The way to universal love is self love! Be compassionate toward yourself and others. It's a single key, perpetually unlocking innumerable hearts. Forgiveness comes naturally to those who practice compassion. It's an artist's best color, the best music, the best poem! Forgiving others will enable you to deal with your situations and problems more gracefully. Expect the unexpected, but simultaneously also be aware of deceptions. Sudden events out of the blue with a tinge of some unexpected news may surprise you! Good or bad, always make a sincere attempt at taking things in your stride. A tight rope walker knows no better way! Legal matters and computer foul ups might pull you down further, but again, only psychic balance shall help you sail through. Happiness does not need a concrete door! It's a fluid taking the shape of the vessel. Hence, be the vessel wherein, it would want to flow in naturally. Insights would make their way to you this day. They are the language of heart. They depict good amount of awareness and perception. Thus, listen to them, they might be singing the tune you like!"
]
}
var api = 'personal_day_prediction';
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);
});