Get Personality Number Report
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/personality_number |
{
"status_code": 200,
"status": true,
"data": {
"name": "Sanjay Sharma",
"birth_date": "1994-09-15",
"personality_number": 9,
"report": [
"You have a tendency to stand honest and proud. You are confident in your talents and skills. Many actors, musicians and other kinds of artists tend to have a 9 personality. You win people’s respect through the proliferation and exercise of your talents. The downside is that your talent can stir jealousy and envy in other people. They will tend not to like you based exclusively on their own insecurities. Be warned: jealousy almost always leads to vindictiveness and bitterness. Give no one reason to need you as their enemy.",
"There really is no way around it: you are going to be perceived as a little bit conceited. Your ability to turn this off is practically non-existent so rather than stifle it, you will have to go out of your way to defend it by constantly one-upping and re-inventing yourself. At the same time, you will also want to cultivate enough of an attitude of humility to keep yourself grounded. Don’t start believing your own press. Look for areas in need of development and set goals to make those improvements. This shouldn’t be too difficult considering that you are also a giver at heart. You like to let others experience some of the fruits of your activities and acts of compassion help build your self-esteem."
]
}
}
Params | Data Type | Description | Example |
---|---|---|---|
name | string | Full Name | Sanjay Sharma |
day | int | Date of Birth | 15 |
month | int | Month of Birth | 9 |
year | int | Year of Birth | 1994 |
# cURL Request Example
curl --location --request POST 'https://json.apireports.com/v1/personality_number' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Sanjay Sharma",
"day": 15,
"month": 9,
"year": 1994
}'
# END
/* JavaScript Request Example */
var apiEndPoint = "personality_number";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
"name": "Sanjay Sharma",
"day": 15,
"month": 9,
"year": 1994
};
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var request = $.ajax({
url: url,
method: "POST",
dataType:'json',
headers: {
"Authorization": "Basic " + btoa(userId+":"+apiKey),
"Accept-Language": "en",
"Content-Type":'application/json'
},
data:JSON.stringify(data)
});
request.then(
function(resp){
console.log(resp);
},
function(err){
console.log(err);
}
);
/* END */
<?php
/* PHP Request Example */
$apiEndPoint = "personality_number";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
"name" => "Sanjay Sharma",
"day" => 15,
"month" => 9,
"year" => 1994
);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url.$apiEndPoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$header[] = 'Authorization: Basic '. base64_encode($userId.":".$apiKey);
$header[] = 'Accept-Language: en';
$header[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$error = curl_error($ch);
$http_code = curl_getinfo($ch ,CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
/* END */
# Python Request Example
import requests
import json
apiEndPoint = "personality_number";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint
data = json.dumps({
"name": "Sanjay Sharma",
"day": 15,
"month": 9,
"year": 1994
})
headers = {
'Accept-Language': 'en',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, auth=(userId, apiKey),data=data)
print(response.text)
# END
/* NodeJS Request Example */
var request = require('request');
var apiEndPoint = "personality_number";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var options = {
'method': 'POST',
'url': url,
'auth': {
'user': userId,
'password': apiKey
},
'headers': {
'Accept-Language': 'en',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"name": "Sanjay Sharma",
"day": 15,
"month": 9,
"year": 1994
})
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
/* END */