The numero_fav_mantra API provides information related to the favorable Gayatri mantra for a given individual according to numerology. The response includes details on the specific mantra that should be recited, along with instructions on the frequency and timing of the recitation.
Params | Data type | Descriptions |
day required month required year required name required | int int int string | date of birth, eg: 10 month of birth, eg: 5 year of birth, eg: 1990 name, eg: 'demo' |
{
"title": "Favourable Gayatri Mantra For You",
"description": "You should recite Sani Gayatri mantra for increasing the benefic effects of Saturn daily after bath 11, 21 or 108 times. The Sani Gayatri Mantra : ||\"Om Bhagbhavay Vidmahe Mrityuroopay Dheemahi Tanno Shanih Prachodyat\" ||"
}
var api = 'numero_fav_mantra';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var language = '<Your Language>' // By default it is set to en
var data = {
day: 6,
month:1,
year:2000,
name:"Kevin"
};
var auth = "Basic " + new Buffer(userId + ":" + apiKey).toString("base64");
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
"authorization": auth,
"Content-Type":'application/json',
"Accept-Language": language
},
data:JSON.stringify(data)
});
request.then( function(resp){
console.log(resp);
}, function(err){
console.log(err);
});