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 "Divine Magic Reading Tarot" API request.
- Ensure the method is set to POST.
- Use this request URL: https://astroapi-5.divineapi.com/api/v2/divine-magic-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 EMPRESS",
"card2": "THE STAR",
"card1_image": "https://astroapi-5.divineapi.com/public/uploads/tarot-white-magic/4.jpg",
"card2_image": "https://astroapi-5.divineapi.com/public/uploads/tarot-white-magic/18.jpg",
"cause": "If you are struggling to connect with your creative potential, the Empress card can help guide you in the right direction. It's important to recognize that creativity takes many forms and can be expressed in a variety of ways. You might be feeling like you lack the skills or resources to bring your vision to life, but the Empress reminds you that you are capable of manifesting your dreams.\r\n\r\nOne way to tap into your creative energy is to spend some time in nature. The Empress is often depicted surrounded by lush greenery, so try going for a walk in a park or forest to reconnect with the natural world. You might also want to engage in activities that allow you to express yourself, such as painting, writing, or dancing.\r\n\r\nIf you're feeling overwhelmed or anxious about your creative pursuits, reaching out to a trusted friend or loved one can help. Talking about your concerns can help you gain some perspective and relieve any tension or stress you may be feeling. Remember, the Empress is all about nurturing and caring for yourself, so don't be afraid to take some time for self-care and relaxation.",
"remedy": "By focusing on positivity and directing your thoughts towards it, you can create a better and brighter future for yourself. The Star card reminds you that you are in control of your own destiny, and that with a little effort and intention, you can manifest your dreams into reality. It's important to remember that the universe is always listening, so it's important to send out positive energy and intentions. This ritual is a great way to do just that.\r\n\r\nThe blue candle represents the calm and peaceful energy of the universe, and the objects that you surround it with serve as a reminder of the power and abundance that surrounds you. By setting an intention each night, you are actively participating in the creation of your own reality. This ritual helps you to focus your energy on positive thoughts, and to release any negativity that may be holding you back.\r\n\r\nRemember, the power of positive thinking can work wonders in your life. With the help of the Star card, you can tap into the energy of the universe and bring about positive change in your life. Keep nurturing your dreams, and watch as they blossom and grow into something beautiful."
}
}
}
- The Divine Magic Reading Tarot API offers insights through two tarot cards: "The Empress" and "The Star."
- The "cause" section advises on connecting with creative potential, suggesting nature walks and self-expression activities.
- The "remedy" section encourages focusing on positivity and intention-setting rituals, symbolized by a blue candle, to manifest dreams and attract abundance.
- Incorporate the provided card images using their respective 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.