How to use two decorator APIs in Appweb Flask

0

I'm new to the programming world and I'm looking forward to a more in-depth web application.

I made a resquests of a json dictionary of two different api.

IwanttoputthisdatascrapingintoatableinmyindexpagesoI'mnotsurehowtodothiswithtwoapi.

Followmygithubwiththecode: link

    
asked by anonymous 27.09.2018 / 22:50

1 answer

0

Before passing the data to the render_template it is necessary to concatenate the two answers ("Expert" and "TS1"). However this solution is not scalable because then when it is to add a third, it will be necessary to do another concatenation and so on.

I think the best option would be to do the scraping of the data to a database of the application itself and what was passed to the render_template was the result of a query.

    
02.10.2018 / 05:47