Adding dynamic data from an external website into my blog post

Hi all

I would like to create a blog post when every time a new user is reading the blog post it create an update , like update of the AAPL stock

Any thought ?

If you don’t have a secret key for the API, run a little JavaScript when the user loads the page to insert the current price of AAPL into the existing post. If the API isn’t restricted and/or you don’t have a lot of site traffic, that might work fine. This could happen with some javascript in an HTML card.

If the API key needs to be secret or you’re worried about total traffic, stand up a cloud function somewhere that uses your API key to retrieve the value and updates the post on a schedule.