Next Day Horoscope
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": "aries",
"prediction_date": "17-9-2017",
"prediction": "This is sample daily horoscope.Today is the day where you can impress anyone with your smart talks. Expression of thoughts comes easily today and help in your presentations and meetings go smooth. Boost your confidence with lots of health drinks and exercise. Feeling fresh is important; starting your day and healthy lifestyle will play a major role. Maintain your high stamina for social events you might attend in the evening. Impressing your partner is easier now, take out some time to spend with them and delight them with respect and care."
}
var sdkClient = require("./sdk");
//Zodiac sign
var zodiacName = "aries";
var timezone = 5.5;
//Daily Horoscope APIs need to be called
var resource = "horoscope_prediction/daily/next/" + 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);
}
}
);