mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-05-20 06:46:16 +00:00
Added script to grab toots from mastodon
This commit is contained in:
parent
71ac2b2331
commit
d282fedb29
1 changed files with 6 additions and 0 deletions
6
refreshtoots.sh
Executable file
6
refreshtoots.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
mv static/data/toots.json static/data/toots.old.json
|
||||||
|
SERVER=https://fosstodon.org
|
||||||
|
MID=108219415927856966
|
||||||
|
curl "$SERVER/api/v1/accounts/$MID/statuses" -o static/data/toots.json
|
||||||
|
echo "Done"
|
Loading…
Add table
Reference in a new issue