mirror of
https://github.com/Brandon-Rozek/website-toots.git
synced 2024-10-30 01:32:09 -04:00
1 line
No EOL
2.3 KiB
JSON
1 line
No EOL
2.3 KiB
JSON
{"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":"<p><span class=\"h-card\" translate=\"no\"><a href=\"https://indieweb.social/@den\" class=\"u-url mention\">@<span>den</span></a></span> Earlier today I wrote a Python script that is similar to what you described.</p><p>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.</p><p>You're welcome to check it out and adapt/use it if it fits your needs. 😃 </p><p><a href=\"https://github.com/Brandon-Rozek/website/blob/master/refreshtoots.py\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Brandon-Rozek/websi</span><span class=\"invisible\">te/blob/master/refreshtoots.py</span></a></p>","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"} |