Use api to get name and age