Get today's daily prediction for 6 categories based on Sun Sign.
Where Zodiac name is -
aries,NOTE- Based on the timezone given
Params | Data type | Descriptions |
timezone required | float required | timezone, eg: 5.5 // if not given default will taken as 5.5 |
{
"status": true,
"sun_sign": "taurus",
"prediction_date": "8-7-2019",
"prediction": {
"personal_life": "Mercury stations retrograde today. With it comes your need for a deeper understanding of your partner. Or if you are single this will mean that finding someone who matters has never been so important",
"profession": "Have faith in your own decisions. This will propel your career, which will also benefit you financially.",
"health": "You like to maintain a routine with both your diet and exercise. Stay on track and you will feel the benefits from all aspects",
"travel": "An exciting upcoming trip has injected life into your day. Relish the feeling. ",
"luck": "Go the road less travelled. It will bring you more luck.",
"emotions": "Try not to be insecure about something you have no control over. This will do more damage than good.",
}
var sdkClient = require("./sdk");
//Zodiac sign
var zodiacName = "aries";
var timezone = 5.5;
//Daily Horoscope APIs need to be called
var resource = "sun_sign_prediction/daily/" + zodiacName;
// call dailyHoroCall method for daily predictions
var dailyHoroData = sdkClient.dailyHoroCall(
resource,
zodiacName,
timezone,
function (error, result) {
if (error) {
console.log("Error returned!!");
} else {
console.log("Response has arrived from API server --");
console.log(result);
}
}
);