How to auto insert list of data from API

I am making covid-19 apps. Currently constructing the statistic of countries with most cases using this API:

Is it possible to create auto insert the list from the API. I want to create top 20 countries of most cases. This is my current progress, but it took time to duplicate all 20 same block.

Seeking for advice.

3 posts were merged into an existing topic: How to obtain ONLY specific data from API