get partner report in detail.
Params | Data type | Descriptions |
you_date required you_month required you_year required you_gender required match_date required match_month required match_year required match_gender required match_name required | int int int string int int int string string | your birth date , eg: 10 your birth month , eg: 5 your birth year , eg: 1990 your gender , eg: 'male' or 'female' partner birth date , eg: 3 partner birth month , eg: 5 partner birth year , eg: 1992 partner gender , eg: 'female' or 'male' partner name , eg: 'Sofia' |
{
"title": "You and Sofia share similar vibrations and attractions.",
"msg": "Your presence makes a big difference to the other. You are emotionally sympathetic and understanding toward each other. You both have a strong desire for transforming the relationship in some way that is beneficial for both. The relationship will be interesting and long lasting.",
"tags": ""
}
var api = 'partner_report';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
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'
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});