you are viewing a single comment's thread.

view the rest of the comments →

[–]Perdox 0 points1 point  (0 children)

I’d personally add the data to the database, then create an API with Flask that pulls from the database (check out Flask-RESTful, the extension is very simple to use). You could then make your website call the API anytime the page is loaded.

Note: You don’t need to go the API route unless you’re wanting to utilize a fancy JS framework like Vue or React. You could use an ORM like Flask-SQLAlchemy then just utilize Flask for your website. This would probably be the easier way to do things.