IndexNow submission automation

There are a bunch of ways to do this, but over the weekend I was looking into search engine submission, and came across indexnow. Since my site has a json feed, I am trying a script to get the updated URLs and hit the submission API with those. I wrote a post on it (need to do some css for the code blocks!) which I thought might be useful to someone so I’ll share it here:

IndexNow Update Script - automate your search engine URL submissions | Hello! from Rick Cogley