Get Balance Number Report
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/balance_number |
{
"status_code": 200,
"status": true,
"data": {
"name": "Sanjay Sharma",
"birth_date": "1994-09-15",
"balance_number": 2,
"report": [
"Tact and mediation are your best arms in all personal fights. Leave your emotions out of it. They will only slow you down. Have sureness in yourself and have trust in your instinct. The solution will present itself if you just trust your skill to see it. Face your glitches head-on. Never cower. Never retreat. Work on defusing as many bombs as possible before they explode. You know what they say about an ounce of prevention.",
"Do stand up to your difficulties but also be willing to compromise in the interest of fight resolution. Keep everything in proper perspective and don’t make more of a difficult out of something than there is to be made. Your subtle nature can throw things off balance. Learn how to stay centered and focused. You attract harmony and balance as part of your nature so take advantage of this. You have the chance to be a person who brings peace to volatile situations. Use this ability for the greater good."
]
}
}
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/balance_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 = "balance_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 = "balance_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 = "balance_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 = "balance_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 */