Testing the "Love Triangle Reading Tarot" API Using Postman

Embark on a journey of romantic discovery with our "Love Triangle Reading" API. This guide will help you use Postman to test the API, offering insights to help you discover your Mr. or Ms. Right, provide guidance for making optimal choices in your current situation, and identify your ideal partner within a love triangle. Embark on a journey of romantic discovery with our "Love Triangle Reading Tarot" API. This guide will help you use Postman to test the API, offering insights to help you discover your Mr. or Ms. Right, provide guidance for making optimal choices in your current situation, and identify your ideal partner within a love triangle.

 Last updated : 13 Dec, 2024
 Guide

1. Securing Your API Key

To start, you need an API key. Head over to https://divineapi.com/ and register to initiate your 7-day trial.

  • Select the APIs you are interested in; you can change these selections at any time. You can add or remove APIs in the future.
  • Click on checkout, fill out the sign-up form, and enter your payment details on the next page.

Your trial will begin immediately. You won't be charged during the trial period, and you can cancel anytime without incurring any charges.

  • After logging in, your API key will be visible on your dashboard on the API Key page ( https://divineapi.com/api-keys)

 

2. Importing the Postman Collection

Import our Postman collection to facilitate your API testing:

  • After logging into your Postman account:
  • Open This link: https://documenter.getpostman.com/view/27195761/2sA3Qs8rfV 
  • Click “Run in Postman” and then select “Run in Web”.
  • Select your workspace and then select ‘import’.

 

3. Configuring Your API Request

Once the collection is imported:

  • Locate the "Love Triangle Reading Tarot" API request.
  • Ensure the method is set to POST.
  • Use this request URL: https://astroapi-5.divineapi.com/api/v2/love-triangle-reading 

 

4. Setting Request Parameters

This API call necessitates only your API key. To find your API key.

  • Go to your DivineAPI dashboard > API Key page.
  • Click on “Copy” next to the API key

 Notice the difference between the key, and the Access Token.

 

Go back to Postman to set the parameters.

  • Navigate to “Authorization”, select “Bearer Token” in the Auth type, and then add the token from your Divine API profile.
  • Navigate to 'Body', select 'form_data', and then add:
    • Key : api_key | Value: <Your_API_Key>
    • lan : “en” - Enter the language.
  • Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.

 

5. Making the Request

Hit the 'Send' button to submit your request.

 

6. Deciphering the Response

The API's response will be structured as follows:

{

{
    "success": 1,
    "data": {
        "prediction": {
            "card1": "THE EMPEROR",
            "card2": "THE CHARIOT",
            "card3": "THE WORLD",
            "card1_image": "https://astroapi-5.divineapi.com/public/uploads/tarot-lovers-triangle/5.png",
            "card2_image": "https://astroapi-5.divineapi.com/public/uploads/tarot-lovers-triangle/8.png",
            "card3_image": "https://astroapi-5.divineapi.com/public/uploads/tarot-lovers-triangle/22.png",
            "your": "You have a strong personality, and you're not afraid to take the lead. You have a clear vision for your life and the goals you want to achieve. Love and romance are important to you, but you understand that there are certain expectations and boundaries that must be respected. Your past relationships have taught you valuable lessons, and you're not willing to settle for anything less than what you deserve.\r\n\r\nWhen it comes to love, you are a strategic thinker. You don't rush into things and you carefully evaluate potential partners before making a commitment. You want someone who can keep up with you, intellectually and emotionally. You value equality in your relationships, but you also have a need for control. You want to have a say in important decisions, and you expect your partner to respect your opinions and ideas.\r\n\r\nWhile your desire for control may come across as intimidating to some, it is simply a reflection of your confidence and self-assurance. You know what you want, and you're not afraid to go after it. You have a magnetic personality that attracts others to you, and your leadership qualities make you a natural-born leader. With the right partner by your side, you're sure to achieve great things together.",
            "lover1": "As you pursue this person, keep in mind that they are highly ambitious and driven. They may expect you to match their level of intensity, and they may be competitive in the realm of romance. While the initial spark can be exciting and invigorating, it's important to make sure that you're not just chasing after a prize or a conquest. Remember that true love is about more than just winning or being possessive. It's about building a deep, meaningful connection based on mutual respect, trust, and understanding. As the initial rush of courtship fades, it's important to maintain the passion for physical intimacy and keep the flame of romance burning bright. With communication, empathy, and a willingness to compromise, you can build a lasting and fulfilling relationship with this person.",
            "lover2": "You, dear reader, may have wondered if it's possible for one person to have it all. The answer is a resounding \"yes!\" and that person could very well be the one you are with right now. This person has shown themselves to be a supportive partner who is committed to their own goals, as well as yours. Together, you can create a life that is fulfilling and rewarding for both of you.\r\n\r\nOf course, no one is perfect. We all have flaws and shortcomings, but it's important not to get bogged down by small imperfections. In fact, these minor flaws can even add character and charm to a person. Instead, focus on the bigger picture and the things that truly matter in a relationship.\r\n\r\nAt the end of the day, it takes two people to make a relationship work. Both of you need to be willing to put in the effort and make sacrifices for each other. It's important to communicate openly and honestly, and to support each other through thick and thin. Don't let petty disagreements or minor misunderstandings ruin what could be a beautiful and fulfilling partnership. Instead, keep your focus on the big things- trust, respect, and shared values. With those in place, anything is possible."
        }
    }
}
  • This Love Triangle Reading API provides insights into three individuals represented by tarot cards: "The Emperor," "The Chariot," and "The World." 
  • The "your" section describes the user's personality traits and expectations in relationships, emphasizing confidence and a need for control. 
  • The "lover1" and "lover2" sections offer advice for pursuing relationships with the other two individuals, highlighting their characteristics and suggesting strategies for building fulfilling partnerships. 
  • Display the corresponding card images using the provided URLs to enhance understanding.

7. Error Resolution

Ensure your API key is correctly entered if you encounter errors, as most issues are due to invalid or missing API keys.

8. Further Assistance

For additional support or inquiries, feel free to contact our customer service team at admin@divineapi.com.