How to fill create Dash datatable from API

I am trying to create Plotly Dash DataTable using python the online examples that i found fill the dataTable from CSV Files, I want to Fill the DataTable from a REST API

@wael It’s hard to help you here without knowing the format returned by the API.

@RenaudLN the API returned json format

I meant what does the returned data look like. Basically in the DataTable you’ll need to define the columns and data attributes (at least) the same way you would from a Pandas dataframe.

Without knowing more about what the returned data looks like I can’t help you more than that.

@RenaudLN i defined the columns from the pandas dataframe and it works that you for your help