Introducing our Chinese Horoscope API, your gateway to providing users with personalized insights from the Chinese zodiac. Access daily Chinese horoscope data for all animal signs.
POST https://divineapi.com/api/1.0/get_chinese_horoscope.php
Request Body
Name
Type
Description
api_key*
String
Your API Key (can be found on your Divineapi dashboard)
{
"success":1,
"message":"Prediction data.2023-09-30
16:26:35",
"data":{
"sign":"rabbit",
"prediction":{
"sign":"Rabbit",
"result":"September 30, 2023 - Today brings crucial
events. If managed well, they can turn into positive opportunities for your benefit. Network with others. The best
approach to any problem is to proceed slowly, carefully, and patiently. Stick to your routines and avoid rushing into
major decisions. Before taking action, ensure that you've thoroughly examined all aspects of the situation."
}
}
}
Take a look at how you might call this method via cURL, NodeJS, JavaScript jQuery AJAX or Python:
curl --location 'https://divineapi.com/api/1.0/get_chinese_horoscope.php' \
--form 'api_key="Your divine api key"'
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://divineapi.com/api/1.0/get_chinese_horoscope.php',
'headers': {
},
formData: {
'api_key': 'Your divine api key'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "Your divine api key");
var settings = {
"url": "https://divineapi.com/api/1.0/get_chinese_horoscope.php",
"method": "POST",
"timeout": 0,
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});