Composite Friendship
Last updated
Last updated
Uncover intricate social dynamics with our 'Composite Friendship' API, providing insights into the compatibility and interplay of individuals' astrological attributes within the realm of Indian Astrology.
POST
https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship
Returns Composite Friendship Table in response
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
{
"success": 1,
"data": {
"natural_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Friend",
"Mars": "Friend",
"Mercury": "Neutral",
"Jupiter": "Friend",
"Venus": "Enemy",
"Saturn": "Enemy"
},
"Moon": {
"Sun": "Friend",
"Moon": "-",
"Mars": "Neutral",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "Neutral",
"Saturn": "Neutral"
},
"Mars": {
"Sun": "Friend",
"Moon": "Friend",
"Mars": "-",
"Mercury": "Enemy",
"Jupiter": "Friend",
"Venus": "Neutral",
"Saturn": "Neutral"
},
"Mercury": {
"Sun": "Friend",
"Moon": "Enemy",
"Mars": "Neutral",
"Mercury": "-",
"Jupiter": "Neutral",
"Venus": "Friend",
"Saturn": "Neutral"
},
"Jupiter": {
"Sun": "Friend",
"Moon": "Friend",
"Mars": "Friend",
"Mercury": "Enemy",
"Jupiter": "-",
"Venus": "Enemy",
"Saturn": "Neutral"
},
"Venus": {
"Sun": "Enemy",
"Moon": "Enemy",
"Mars": "Neutral",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Enemy",
"Moon": "Enemy",
"Mars": "Enemy",
"Mercury": "Friend",
"Jupiter": "Neutral",
"Venus": "Friend",
"Saturn": "-"
}
},
"temporary_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Friend",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Friend"
},
"Moon": {
"Sun": "Friend",
"Moon": "-",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mercury": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "-",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "Enemy",
"Saturn": "Friend"
},
"Venus": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "Friend",
"Venus": "-",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mars": {
"Sun": "Friend",
"Moon": "Enemy",
"Mercury": "Friend",
"Venus": "Friend",
"Mars": "-",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Jupiter": {
"Sun": "Friend",
"Moon": "Friend",
"Mercury": "Enemy",
"Venus": "Friend",
"Mars": "Friend",
"Jupiter": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Friend",
"Moon": "Enemy",
"Mercury": "Friend",
"Venus": "Enemy",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "-"
}
},
"five_fold_friendship": {
"Sun": {
"Sun": "-",
"Moon": "Best Friend",
"Mercury": "Friend",
"Venus": "Neutral",
"Mars": "Best Friend",
"Jupiter": "Best Friend",
"Saturn": "Neutral"
},
"Moon": {
"Sun": "Best Friend",
"Moon": "-",
"Mercury": "Best Friend",
"Venus": "Friend",
"Mars": "Enemy",
"Jupiter": "Friend",
"Saturn": "Enemy"
},
"Mercury": {
"Sun": "Best Friend",
"Moon": "Neutral",
"Mercury": "-",
"Venus": "Best Friend",
"Mars": "Friend",
"Jupiter": "Enemy",
"Saturn": "Friend"
},
"Venus": {
"Sun": "Neutral",
"Moon": "Neutral",
"Mercury": "Best Friend",
"Venus": "-",
"Mars": "Friend",
"Jupiter": "Friend",
"Saturn": "Neutral"
},
"Mars": {
"Sun": "Best Friend",
"Moon": "Neutral",
"Mercury": "Neutral",
"Venus": "Friend",
"Mars": "-",
"Jupiter": "Best Friend",
"Saturn": "Enemy"
},
"Jupiter": {
"Sun": "Best Friend",
"Moon": "Best Friend",
"Mercury": "Bitter Enemy",
"Venus": "Neutral",
"Mars": "Best Friend",
"Jupiter": "-",
"Saturn": "Friend"
},
"Saturn": {
"Sun": "Neutral",
"Moon": "Bitter Enemy",
"Mercury": "Best Friend",
"Venus": "Neutral",
"Mars": "Bitter Enemy",
"Jupiter": "Friend",
"Saturn": "-"
}
}
}
}
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
curl -X POST \
https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship \
-H 'authorization: Bearer {Your API Access Token}' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-F api_key={Your API Key}
-F full_name='Rahul Kumar' \
-F place='New Delhi, India' \
-F gender='male' \
-F day=24 \
-F month=05 \
-F year=2023 \
-F hour=14 \
-F min=40 \
-F sec=43 \
-F lat=28.7041 \
-F lon=77.1025 \
-F tzone=5.5 \
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("full_name", "Test");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {Your Auth Token}"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});
import requests
url = "https://astroapi-3.divineapi.com/indian-api/v1/composite-friendship"
payload = {'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)