Copy page
Copy page as Markdown for LLMs
Introducing the Coffee Cup Reading API, a fascinating tool that brings the art of tasseography (coffee cup divination) into your website or application. This API delivers symbolic interpretations and spiritual insights drawn from coffee grounds, offering users a mystical and reflective experience.
Step by Step Coffee Cup Reading API Postman Testing Integration
Use the lan field in the request body to specify the desired response language.
| 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:
To manage translations and localization, update settings using the DivineAPI Translator.
POST https://astroapi-5.divineapi.com/api/v2/coffee-cup-reading
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your DivineAPI key, available from your dashboard. |
| lan | String | Language code as per the table above. Default is en. |
{
"success": 1,
"data": {
"prediction": {
"present_title": "People",
"present_image": "https://divineapi.com/admin/uploads/coffee_cup/71.jpg",
"present_content": "People in a coffee cup reading can be described as long, short, thin, obese, etc. People as a symbol indicate both the good and the bad things in life. In a coffee cup reading, people relate to people you encounter and interact with daily. They can either be good for you or entirely based purely based off their intentions due to which you are here to find out more about them.",
"near_future_title": "Birds",
"near_future_image": "https://divineapi.com/admin/uploads/coffee_cup/30.jpg",
"near_future_content": "You are a rambunctious and daring individual who enjoys coming up with unconventional solutions to issues. You view the entire image of the issue without becoming caught in its complexities, much as a bird glides above in the sky. You are an independent person who appreciates liberty over everything else the world.",
"distant_future_title": "Moon",
"distant_future_image": "https://divineapi.com/admin/uploads/coffee_cup/66.jpg",
"distant_future_content": "The Full Moon stands for love. It brings people together like high tides on a Full Moon Night. Waves of passion will run through your veins while the Full Moon approves with a nod of its head, shining glamorously in the sky."
}
}
}Below are example implementations in various programming environments.
curl --location 'https://astroapi-5.divineapi.com/api/v2/coffee-cup-reading' \
--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/coffee-cup-reading',
'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/coffee-cup-reading",
"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/coffee-cup-reading"
payload = {'api_key': '{Your API Key}',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)