Divine Angel Reading API
Introducing the Divine Angel Reading API, a spiritual tool designed to deliver angelic messages, divine insights, and guidance from celestial energies. This API allows developers to integrate personalized angel card readings into websites and applications, offering users inspiration, motivation, and clarity in their daily lives.
Step by Step Divine Angel Reading API Postman Testing Integration
Step by Step Divine Angel Reading API Postman Testing Integration
API Endpoint for English
POST https://astroapi-5.divineapi.com/api/v3/divine-angel-readingGuide: If you only need English, use this endpoint.
API Endpoint for other languages
POST https://astroapi-5-translator.divineapi.com/api/v3/divine-angel-readingGuide: If you want the response in any other language use this translator endpoint.
Supported Language Codes
Use the lan field in the request body to specify the desired response language.
Supported Reference Article:
https://support.divineapi.com/general-api-support/translating-apis-into-a-different-language
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| zh | Chinese |
| ja | Japanese |
| ar | Arabic |
| ru | Russian |
| pt | Portuguese |
| es | Spanish |
| fr | French |
| de | German |
| it | Italian |
| nl | Dutch |
| pl | Polish |
| tr | Turkish |
| uk | Ukrainian |
| hu | Hungarian |
| gr | Greek |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
| ta | Filipino/Tagalog |
| bah | Indonesian |
Guide: Ensure that your translator configuration is up to date via DivineAPI Translator.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your DivineAPI key available on your dashboard. |
| lan* | String | Language code as per the table above. Default is en. |
| cards_count | Integer | Number of cards to display, eg: 1 (Allowed: 1/2/3/4/5, Default: 1) |
| card_image | Integer | Card image UI type, eg: 1 (Allowed: 1/2/3, Default: 1) |
200: OK Successful
{
"success": 1,
"data": {
"cards": [
{
"card": "THE HERMIT",
"result": "If you're feeling physically or mentally exhausted, know that the angel Ariel can help. As an overseer of healing powers in the earth and air, Ariel can provide you with the strength and support you need to overcome your stress and fears.\r\n\r\nThis angel's presence is a reminder that you are strong enough to overcome any adversity. By working with Ariel, you can learn to live in harmony with yourself, curb negative energy, and avoid harm. The healing powers of this angel can also help you make the world around you a healthier place.\r\n\r\nTo receive guidance from Ariel, it's important to consider new perspectives. This can mean seeking out different sources of information, exploring new ways of thinking, or simply stepping outside of your comfort zone. By embracing new perspectives, you can expand your horizons and gain a deeper understanding of the world around you.\r\n\r\nRemember that Ariel is always there to offer healing support and guidance. By working with this angel and taking steps to prioritize your well-being, you can overcome your challenges and live a more fulfilling life.",
"image": "https://divineapi.com/admin/uploads/tarot_daily_career/10.png"
}
]
}
}Example Code Implementations
Below are example implementations in various programming environments.
cURL
curl --location 'https://astroapi-5.divineapi.com/api/v3/divine-angel-reading' \
--header 'Authorization: Bearer {token}' \
--form 'api_key="Your API Key"' \
--form 'lan="en"' \
--form 'cards_count="1"' \
--form 'card_image="1"'NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-5.divineapi.com/api/v3/divine-angel-reading',
'headers': {
'Authorization': 'Bearer {token}'
},
formData: {
'api_key': 'Your API Key',
'lan': 'en',
'cards_count': '1',
'card_image': '1'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
JavaScript jQuery AJAX
var form = new FormData();
form.append("api_key", "Your API Key");
form.append("lan", "en");
form.append("cards_count", "1");
form.append("card_image", "1");
var settings = {
"url": "https://astroapi-5.divineapi.com/api/v3/divine-angel-reading",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {token}"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});Python
import requests
url = "https://astroapi-5.divineapi.com/api/v3/divine-angel-reading"
payload = {'api_key': 'Your API Key',
'lan': 'en',
'cards_count': '1',
'card_image': '1'}
files=[
]
headers = {
'Authorization': 'Bearer {token}'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)