Cognizant interview question

Produce the data from api in a table