search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Made For Each Other Or Not

Introducing the Made For Each Other Or Not API, a powerful tool to assess and analyze compatibility between individuals. With this API, effortlessly determine the potential for harmonious connections and compatibility, enhancing matchmaking and relationship services.


Step by Step Made For Each Other Or Not API Postman Testing Integration

Step by Step Made For Each Other Or Not API Postman Testing Integration


Supported Language Codes

Use the lan parameter in the request body to define your preferred response language.

CodeLanguage
enEnglish
hiHindi
ptPortuguese
frFrench
esSpanish
ruRussian
deGerman
nlDutch
itItalian
plPolish
arArabic
jaJapanese
zhChinese
tmTamil
tlTelugu
trTurkish
taFilipino/Tagalog
bnBengali
maMarathi
mlMalayalam
knKannada

Guide:
Translate or localize responses with the DivineAPI Translator.


API Endpoint

POST https://astroapi-5.divineapi.com/api/v2/made-for-each-other-or-not-reading

Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour DivineAPI Key (available in your dashboard).
lanStringLanguage code (default: en). How to update translator.

200: OK Successful

{
    "success": 1,
    "data": {
        "prediction": {
            "card": "THE SUN",
            "result": "As you bask in the glow of your dream relationship, it's important to take a moment to appreciate all that it brings to your life. From the excitement of new experiences to the warmth of companionship, your relationship is exactly what you hoped for and more.\r\n\r\nAs you begin to share your thoughts and feelings with your partner, it's important to approach each interaction with an open mind and a positive outlook. The Sun card represents joy and optimism, and it's crucial not to let small disappointments derail your positive energy. Instead, focus on the bigger picture and the many blessings that your relationship brings.\r\n\r\nIt's important to acknowledge that no relationship is perfect. Everyone has flaws and imperfections, and it's essential to accept them as a natural part of the human experience. While it's not helpful to deny the flaws of another person, it's also important not to dwell on them excessively. Instead, focus on the positive aspects of your relationship and work together to build a strong foundation based on mutual trust and respect.\r\n\r\nAs you continue to navigate your dream relationship, remember to stay true to yourself and your values. Communicate openly and honestly with your partner, and be willing to compromise and work through challenges together. With the right attitude and approach, your dream relationship can become a beautiful reality that brings joy, fulfillment, and happiness to your life.",
            "image": "https://divineapi.com/admin/uploads/tarot_friend_or_foe/20.png",
            "image2": "https://divineapi.com/admin/uploads/tarot_friend_or_foe/20_2.jpg",
            "image3": "https://divineapi.com/admin/uploads/tarot_friend_or_foe/20_3.jpg"
        }
    }
}

Example Code Implementations

Below are example implementations in various programming environments.


cURL

curl --location 'https://astroapi-5.divineapi.com/api/v2/made-for-each-other-or-not-reading' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-5.divineapi.com/api/v2/made-for-each-other-or-not-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);
});

JavaScript jQuery AJAX

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/made-for-each-other-or-not-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);
});

Python

import requests

url = "https://astroapi-5.divineapi.com/api/v2/made-for-each-other-or-not-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)

Implementation Notes

Authentication:
Include a valid Bearer token in every request header to authorize access.

Error Handling:
Implement fallback handling for 400, 401, and 500 responses to ensure smooth operation.

Caching:
Cache frequent compatibility results to improve user experience and minimize repeated API calls.

UI Integration:
Display the tarot card images (image, image2, image3) alongside the result text for a visually rich and interactive presentation.