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 "Erotic Love Reading Tarot" API request.
- Ensure the method is set to POST.
- Use this request URL: https://astroapi-5.divineapi.com/api/v2/erotic-love-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": {
"card": "THE HANGED MAN",
"result": "When you encounter the Hanged Man in your reading, it can be a signal that you have reached a point where you need to accept things as they are. This can be especially true when it comes to your sex life. You may feel like things are not perfect or that there are things you wish were different, but accepting the reality of your situation is the first step towards making the most of it.\r\n\r\nThe Hanged Man encourages you to take a step back and look at your sexual experiences from a new perspective. Maybe you need to try something new or switch things up to bring more excitement and passion into your relationships. Or perhaps you need to accept that things are not always going to be perfect, but that there is still plenty of fun to be had.\r\n\r\nBy embracing the spirit of acceptance, you can let go of any negative emotions or frustrations that may be holding you back from fully enjoying your sexual life. You can focus on the present moment and enjoy the pleasure and intimacy that comes with connecting with your partner or partners.\r\n\r\nRemember, the Hanged Man may not be in the best situation, but he finds a way to make the most of it. This is a powerful reminder that even in difficult or challenging times, there is always a way to find joy and satisfaction. So embrace the energy of the Hanged Man and approach your sexual experiences with a spirit of acceptance, openness, and exploration. Who knows what exciting new adventures await you?",
"image": "https://astroapi-5.divineapi.com/public/uploads/tarot_erotic/13.png",
"image2": "https://astroapi-5.divineapi.com/public/uploads/tarot_erotic/13_2.jpg",
"image3": "https://astroapi-5.divineapi.com/public/uploads/tarot_erotic/13_3.jpg"
}
}
}
- The API response provides an erotic love reading with "THE HANGED MAN" card.
- The "result" field offers an interpretation about accepting your current sexual situation and finding new perspectives for enjoyment.
- Display the card images using the "image", "image2", and "image3" URLs.
- The main advice is to embrace acceptance and explore new ways to enhance your sexual experiences.
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.