Get One Cart Tarot Reading
Method | Full Url |
---|---|
POST | https://json.apireports.com/v1/one_card_tarot_reading |
{
"status_code": 200,
"status": true,
"data": {
"card_id": 64,
"card_name": "King of Cups",
"position_key": "upright",
"position": "Upright",
"summary": "",
"meaning": [
"In a general context, the King of Cups Tarot card shows kindness, compassion and knowledge. This Minor Arcana card can signify that you will be finding the balance between your mind and your heart. You will learn to control your emotions and find the understanding to accept that which you cannot change. You should be gaining a deeper level of emotional adulthood when this card appears. You will become calmer, more understanding to others and tolerant.",
"Like all the cups court cards, the King of Cups signifies emotion, creativity, artistic ability and intuition but in a more impartial form. As a person, the King of Cups is caring, loving and empathetic. He is a good listener, diplomatic and easy going. He is the type of older male who will give you sound advice and act as a calming effect in your life. He usually has light hair and has few if any enemy as he is well liked and gets along with the bulk of people. He may lack the drive to pursue material affluence as he is more focused on the emotional side of life. He is very family orientated. He may be a water sign such as Cancer, Scorpio or Pisces."
]
}
}
Params | Data Type | Description | Example |
---|
# cURL Request Example
curl --location --request POST 'https://json.apireports.com/v1/one_card_tarot_reading' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '[]'
# END
/* JavaScript Request Example */
var apiEndPoint = "one_card_tarot_reading";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = [];
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 = "one_card_tarot_reading";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
);
$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 = "one_card_tarot_reading";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint
data = json.dumps([])
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 = "one_card_tarot_reading";
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([])
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
/* END */