mirror of
https://github.com/Brandon-Rozek/website-toots.git
synced 2024-11-09 10:40:35 -05:00
2.4 KiB
2.4 KiB
id | in_reply_to_id | in_reply_to_account_id | sensitive | spoiler_text | visibility | language | replies_count | reblogs_count | favourites_count | edited_at | reblog | application | account | media_attachments | mentions | tags | emojis | card | poll | syndication | date | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
108241726139809495 | 108240869379777025 | 108205031958480135 | false | public | en | 1 | 0 | 1 | null | null | null |
|
|
|
null | https://fosstodon.org/@brozek/108241726139809495 | 2022-05-04T04:14:26.931Z |
{{< unsafe >}}
@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
{{< /unsafe >}}