Aptitude API is a free and open source API that generates aptitude questions based on your choice or randomly for each call. The topics that are currently available are : Mixture and Alligation , Profit and Loss , Pipes and Cisterns , Age , Permutation and Combination , Speed Time Distance , Simple Interest , Calendars. Each topic in this API contains 100+ questions.
https://github.com/thirukumaran05/Aptitude-API
fetch('url')
.then(response => {
//handle response
console.log(response);
})
.then(data => {
//handle data
console.log(data);
})
.catch(error => {
//handle error
});
{
"question" : "If Thiru was one-third as old as Raja 5 years back and Thiru is 17 years old now, How old is Raja now?",
"answer" : "41"
}
gh repo fork https://github.com/thirukumaran05/Aptitude-API.git
hub pull-request -b original-repo:main -h your-username:new-feature-branch -m "Description of your changes"