RestFul tables in Confluence

Hi all,

I am quite beginner to this domain. Can anybody help me out to found solution of the following problem please?

I want to create Restful table in confluence which should be obviously dynamic in nature. Actually i want to get data from an external system REST API and put it in confluence table on every refresh.
On my research i figured out that there can be 2 options . PowerShell and Rest ful tables creation.

Any Help in this regard is Highly appreciated . Thanks in advance