Copy page
Copy page as Markdown for LLMs
Introducing the Yes or No Tarot API, a powerful tool that provides instant, intuitive answers to pressing questions through tarot card interpretations. Integrate this API seamlessly into your website, application, or other digital platforms to deliver quick and insightful tarot-based responses to users seeking clarity.
Step by Step Yes or No Tarot API Postman Testing Integration
Use the lan field in the request body to specify the desired language for the response.
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| pt | Portuguese |
| fr | French |
| es | Spanish |
| ru | Russian |
| de | German |
| nl | Dutch |
| it | Italian |
| pl | Polish |
| ar | Arabic |
| ja | Japanese |
| zh | Chinese |
| tm | Tamil |
| tl | Telugu |
| tr | Turkish |
| ta | Filipino/Tagalog |
| bn | Bengali |
| ma | Marathi |
| ml | Malayalam |
| kn | Kannada |
Guide:
For translations, ensure the translator is updated using DivineAPI Translator.
POST https://astroapi-5.divineapi.com/api/v2/yes-or-no-tarot
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your DivineAPI key from the dashboard. |
| lan | String | Language code as per the table above. Default is en. |
{
"success": 1,
"data": {
"prediction": {
"card": "ACE OF CUPS",
"category": "Upright",
"yes_no": "YES",
"result": "Aces are believed to symbolize a fresh start, and the Ace of Cups card is no exception. The emergence of an upright Ace of Cups is a sign that you should let go of the psychological issues that have been dragging you back and keeping you from enjoying life without worry. This card represents a chance to offer oneself a fresh start, which may be in the shape of a new relationship or even a new career. Based on what you've been dealing with, this card may represent an emotional or spiritual release. The existence of an Ace of Cups card indicates that it is time to turn over a fresh leaf.",
"image": "https://divineapi.com/admin/uploads/yes_no_tarot/51_2.jpg",
"image2": "https://divineapi.com/admin/uploads/yes_no_tarot/51.jpg"
}
}
}Below are example implementations in various programming environments.
curl --location 'https://astroapi-5.divineapi.com/api/v2/yes-or-no-tarot' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'lan="en"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-5.divineapi.com/api/v2/yes-or-no-tarot',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'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("lan", "en");
var settings = {
"url": "https://astroapi-5.divineapi.com/api/v2/yes-or-no-tarot",
"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-5.divineapi.com/api/v2/yes-or-no-tarot"
payload = {'api_key': '{Your API Key}',
'lan': 'en'}
files=[
]
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)