Verify the stored Reddit credentials work by calling praw's authenticated user.me(), without posting anything.
Inputs
Name
Type
Required / default
Values and notes
profile
profile
optional, default reddit
Outputs
Name
Type
Notes
ok
bool
username
string
link_karma
int
comment_karma
int
Post to a subreddit
postDestructive
Submit one post to a subreddit: a local image file (uploaded), an http(s) URL (link post), or plain text (self post) when image_or_url is left blank. Skips silently if this exact subreddit+title was already posted.
Inputs
Name
Type
Required / default
Values and notes
subreddit
string
required
title
string
required
image_or_url
string
optional, default ""
text
text
optional, default ""
flair
string
optional, default ""
profile
profile
optional, default reddit
Outputs
Name
Type
Notes
posted
bool
skipped
bool
id
string
url
string
subreddit
string
kind
string
Post a JSON queue
post_from_jsonDestructive
Walk a JSON file of scheduled posts ([{title, text|subject, subreddit?, image_or_url?, flair?}, ...]), submitting each entry not already recorded in the posted-history marker, waiting a delay between posts.
Inputs
Name
Type
Required / default
Values and notes
file
path
required
subreddit
string
optional, default ""
flair
string
optional, default ""
delay_seconds
float
optional, default 30
limit
int
optional, default 0
profile
profile
optional, default reddit
Outputs
Name
Type
Notes
count
int
failed
int
skipped
int
posted
json
Use it
Check login
Command line
shell
python app.py --action check_login --params '{}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.