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
1 changed files with 11 additions and 2 deletions

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" [
"author": "author" {
"quote": "quote",
"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.