Testing the "Past Present Future Reading Tarot" API Using Postman

Delve into the realms of time with our "Past Present Future Reading Tarot" API. This guide will assist you in using Postman to test the API, which is designed to offer you a glimpse into your future, provide insights into your present, and reflect on your past to guide present and future actions.

 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 "Past Present Future Reading Tarot" API request.
  • Ensure the method is set to POST.
  • Use this request URL: https://astroapi-5.divineapi.com/api/v2/past-present-future-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 HIGH PRIESTESS",
            "card2": "THE HIEROPHANT",
            "card3": "JUDGMENT",
            "card1_image": "https://astroapi-5.divineapi.com/public/uploads/3-cards-tarot/25.png",
            "card2_image": "https://astroapi-5.divineapi.com/public/uploads/3-cards-tarot/6.png",
            "card3_image": "https://astroapi-5.divineapi.com/public/uploads/3-cards-tarot/21.png",
            "past": "Take the time to reflect on what you need to change and what you need to let go of. This card encourages you to take a step back and observe your life from a different perspective. You may need to make some difficult decisions, but trust your intuition and do what is best for you.\r\n\r\nIt's important to acknowledge that problems may not be resolved quickly. You need to be patient with yourself and trust the process. Sometimes, the hardest thing to do is to simply observe and not take action. However, it can be the most beneficial in the long run.\r\n\r\nYou may also find that during this time of observation, you may feel disconnected from others or even yourself. It's important to remember that this is a natural part of the process. Take the time to explore your own thoughts and emotions, and be gentle with yourself.\r\n\r\nLastly, this card also reminds you to look for balance in your life. Are you neglecting important areas such as your relationships, health, or career? Take the time to assess where you are putting your energy and make adjustments as needed.",
            "present": "The Hierophant is often associated with traditions and established institutions. It can represent a teacher, a mentor, or a spiritual leader who can guide you through difficult situations. This card suggests that you should be open to new ideas and viewpoints, even if they challenge your current beliefs. Sometimes, we can become too rigid in our thinking and it can hold us back from growth and progress. The Hierophant reminds us to stay open-minded and to embrace change.\r\n\r\nAdditionally, this card can indicate the need for structure and organization in your life. It may be time to establish a routine or a set of guidelines to follow. This can help you feel more grounded and in control of your life. The Hierophant also represents a desire for a deeper understanding of spirituality and the mysteries of the universe. You may find yourself drawn to exploring new spiritual practices or seeking answers to philosophical questions.\r\n\r\nOverall, The Hierophant encourages you to seek guidance from wise and experienced individuals, to be open to new ideas and to establish a sense of structure in your life.",
            "future": "If you draw \"The Judgement\" card in a tarot reading, it is a powerful symbol of clarity and decisive action. This card, which is the 20th card in the Major Arcana, signals the end of a phase in your life, and the beginning of a new one. It invites you to review past events and make clear decisions based on your newfound clarity.\r\n\r\nWith the energy of this card guiding you, you will find that you can easily let go of any issues or problems that have been holding you back. You will feel a renewed sense of purpose and direction, as you move confidently into the future.\r\n\r\nAs you embrace this new phase in your life, you will find that success and recognition come easily to you. Even if you weren't expecting it, financial abundance and respect from others will be yours. You have worked hard to get to this point, and now you can enjoy the rewards of your efforts.\r\n\r\nSo embrace the power of \"The Judgement\" card and trust in your ability to make clear decisions. You have the wisdom and insight to move forward with confidence and strength, knowing that the future holds great things for you."
        }
    }
}
  • The Past Present Future Reading API provides insights through three tarot cards: "The High Priestess", "The Hierophant", and "Judgment". 
  • "The High Priestess" advises reflection, patience, and seeking balance. 
  • "The Hierophant" suggests openness to guidance, structure, and spiritual exploration. 
  • "Judgment" signals clarity, decisive action, and the end of a phase, leading to new beginnings, success, and recognition. 
  • Utilize the provided card images to visually reinforce the message for users.

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.