Career Daily Reading API
Introducing the Career Daily Reading API, a powerful tool that delivers daily career insights and guidance to help users navigate their professional journeys. This API allows seamless integration of tarot-based career predictions into your platforms, empowering individuals to make informed decisions about work, growth, and balance.
Step by Step Career Daily Reading API Postman Testing Integration
Step by Step Career Daily Reading API Postman Testing Integration
API Endpoint for English
POST https://astroapi-5.divineapi.com/api/v3/career-daily-readingGuide: If you only need English, use this endpoint.
API Endpoint for other languages
POST https://astroapi-5-translator.divineapi.com/api/v3/career-daily-readingGuide: If you want the response in any other language use this translator endpoint.
Supported Language Codes
Use the lan field in the request body to specify the response language.
Supported Reference Article:
https://support.divineapi.com/general-api-support/translating-apis-into-a-different-language
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| zh | Chinese |
| ja | Japanese |
| ar | Arabic |
| ru | Russian |
| pt | Portuguese |
| es | Spanish |
| fr | French |
| de | German |
| it | Italian |
| nl | Dutch |
| pl | Polish |
| tr | Turkish |
| uk | Ukrainian |
| hu | Hungarian |
| gr | Greek |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
| ta | Filipino/Tagalog |
| bah | Indonesian |
Guide: Ensure that your translator configuration is up to date via DivineAPI Translator.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your DivineAPI key, available on your developer dashboard. |
| lan* | String | Language code as per the table above. Default is en. |
| cards_count | Integer | Number of cards to display, eg: 1 (Allowed: 1/2/3/4/5, Default: 1) |
| card_image | Integer | Card image UI type, eg: 1 (Allowed: 1/2/3, Default: 1) |
200: OK Successful
{
"success": 1,
"data": {
"cards": [
{
"card": "THE CHARIOT",
"result": "As you embrace the energy of the Chariot card, you can trust in your own strength and determination to make significant strides in your professional life. You have the power to steer your career in the direction you want it to go, as long as you remain disciplined and committed to your goals. You may encounter obstacles along the way, but with focus and perseverance, you can overcome them and continue to move forward.\r\n\r\nTake the reins of your career and be the driver of your own success. It is time to tap into your inner warrior and let your competitive spirit drive you towards victory. Trust in yourself and your abilities, and be confident in your decisions. Your hard work and dedication will pay off in the end, and you will be proud of what you have accomplished. Remember, the journey may be challenging, but the destination is worth it.",
"image": "https://divineapi.com/admin/uploads/tarot_daily_career/8.png"
}
]
}
}Example Code Implementations
Below are example implementations in various programming environments.
cURL
curl --location 'https://astroapi-5.divineapi.com/api/v3/career-daily-reading' \
--header 'Authorization: Bearer {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/v3/career-daily-reading',
'headers': {
'Authorization': 'Bearer {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/v3/career-daily-reading",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer {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/v3/career-daily-reading"
payload = {'api_key': 'Your API Key',
'lan': 'en'}
files=[
]
headers = {
'Authorization': 'Bearer {token}'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)