Start your FREE Trial to get your API KEY, https://divineapi.com
Divine API allows developers to access and gives them opportunity to integrate astrology services to their website or application & providing them with services like Daily Horoscope, Yes or No Tarot API, Daily Tarot, Fortune Cookie & Coffee Cup Reading.
Divine API has so much to offer. One of the features of divine API is the yes or no Tarot API. Developers can add the yes or no tarot for their application users to decide on something just with a flip of card.
- The cards created by the Yes or No Tarot API are advanced in appearance with the touch of traditional design.
- It provides yes or no response with rational description.
- The responses are on point and authentic.
- The user interface is extremely attractive.
- There are a large number of pre-designed cards for everyone.
- It helps your customer get past the question they have been holding on for a while.
- With Yes or No Tarot API, you can choose to take the tough decision with calculated risk.
- It has no bugs and is contains engaging content.
POST: https://divineapi.com/api/1.0/get_yes_or_no_tarot.php
- api_key :
- Your API KEY.
{
"success": 1,
"message": "Yes or No Tarot result.",
"data": {
"prediction": {
"card": "Card1",
"category": "upright",
"yes_no": "yes",
"result": "Result1",
"image": "image_url"
}
}
}
curl -d "api_key=YOUR_API_KEY" -X POST https://divineapi.com/api/1.0/get_yes_or_no_tarot.php
import requests
from requests.structures import CaseInsensitiveDict
url = "https://divineapi.com/api/1.0/get_yes_or_no_tarot.php"
headers = CaseInsensitiveDict()
headers["Content-Type"] = "application/x-www-form-urlencoded"
data = "api_key=YOUR_API_KEY"
resp = requests.post(url, headers=headers, data=data)
print(resp.status_code)
var url = "https://divineapi.com/api/1.0/get_yes_or_no_tarot.php";
var xhr = new XMLHttpRequest();
xhr.open("POST", url);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = function () {
if (xhr.readyState === 4) {
console.log(xhr.status);
console.log(xhr.responseText);
}};
var data = "api_key=YOUR_API_KEY";
xhr.send(data);
<?php
$url = "https://divineapi.com/api/1.0/get_yes_or_no_tarot.php";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$headers = array(
"Content-Type: application/x-www-form-urlencoded",
);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$data = "api_key=YOUR_API_KEY";
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
$resp = curl_exec($curl);
curl_close($curl);
var_dump($resp);
?>
$.ajax({
type:'POST',
url:'https://divineapi.com/api/1.0/get_yes_or_no_tarot.php',
data: {api_key:'YOUR_API_KEY'},
success:function(data){
console.log(data);
}
});
const URL = 'https://divineapi.com/api/1.0/get_yes_or_no_tarot.php?api_key=YOUR_API_KEY';
fetch(URL, {
method: 'POST'
})
.then(response => response.json())
.then(json => {
const date = json.current_date;
console.log(date);
});
2021 Divine API
Licensed under the Apache License, Version 2.0 (the "License");
http://www.apache.org/licenses/LICENSE-2.0
Questions? Suggestions? Feel free to contact me at admin@divineapi.com
Source of updates - https://divineapi.com/yes-no-tarot-api
Please feel free to use and adapt this awesome API.