{"account":{"acct":"brozek","avatar":"https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg","display_name":"Brandon Rozek","header":"https://fosstodon.org/headers/original/missing.png","hide_collections":false,"id":"108219415927856966","indexable":false,"uri":"https://fosstodon.org/users/brozek","url":"https://fosstodon.org/@brozek","username":"brozek"},"application":null,"card":{"author_name":"","author_url":"","authors":[{"account":null,"name":"","url":""}],"blurhash":"UTSFw=tRMxxuOrt7Rjofrqaet7WB?^RPxuWB","description":"Github Repo of Personal Website. Contribute to Brandon-Rozek/website development by creating an account on GitHub.","embed_url":"","height":200,"html":"","image":null,"image_description":"","language":"en","provider_name":"GitHub","provider_url":"","published_at":null,"title":"website/refreshtoots.py at master ยท Brandon-Rozek/website","type":"link","url":"https://github.com/Brandon-Rozek/website/blob/master/refreshtoots.py","width":400},"content":"

@den Earlier today I wrote a Python script that is similar to what you described.

I have a file toots.json that contains all my toots and then a script refreshtoots.py that queries the JSON API and update toots.json to contain the old and new toots.

You're welcome to check it out and adapt/use it if it fits your needs. ๐Ÿ˜ƒ

https://github.com/Brandon-Rozek/website/blob/master/refreshtoots.py

","date":"2022-05-04T04:14:26.931Z","edited_at":null,"emojis":[],"favourites_count":1,"id":"108241726139809495","in_reply_to_account_id":"108205031958480135","in_reply_to_id":"108240869379777025","language":"en","media_attachments":[],"mentions":[{"acct":"den@indieweb.social","id":"108205031958480135","url":"https://indieweb.social/@den","username":"den"}],"poll":null,"reblog":null,"reblogs_count":0,"replies_count":1,"sensitive":false,"spoiler_text":"","syndication":"https://fosstodon.org/@brozek/108241726139809495","tags":[],"visibility":"public"}