I am developing a small site, which must fetch some data from an API and display it in a table (I don't know how much rows I will need, it depends on the API). I selected Python as backend programming language and Flask as a web-framework. I need to make a request to API from Python on page start and display it's result in a table in HTML template. render_template with some parameters can't do that - because it can't dynamically display HTML elements, just text. How can I do it without JS/JQuery or using it minimally? This is my table code (it's Bootstrap 4)
<table class="table table-bordered" id="users">
<thead>
<tr>
<th>ID</th>
<th>Имя</th>
<th>Фамилия</th>
<th>Действие</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="1">3319</td>
<td>...</td>
<td>...</td>
<td><a href="#">Выбрать</a></td>
</tbody>
</table>