explicit formatting for the json file

This commit is contained in:
Camille Frantz 2024-05-01 19:51:37 -05:00
parent 9704dbc533
commit 186296265a
Signed by: fyrfli
SSH Key Fingerprint: SHA256:cyNGncrLxKXAgYC96dYNROnQKikLInzrpiMraZdqyhY

View File

@ -8,8 +8,17 @@ This is the code that posts to https://fyrfli.social/quotesbot.
- a Mastodon-compatible API token for your instance - a Mastodon-compatible API token for your instance
- a json-formatted file of quotes to use formatted thus: - a json-formatted file of quotes to use formatted thus:
``` ```
"quote": "quote" [
{
"quote": "quote",
"author": "author" "author": "author"
},
...
{
"quote": "quote",
"author": "author"
}
]
``` ```
Your quotes file can either be in the local directory or accessible at a url. Your quotes file can either be in the local directory or accessible at a url.