-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (18 loc) · 1.13 KB
/
Copy path.env.example
File metadata and controls
22 lines (18 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Reddit API Credentials - Obtain from your Reddit App settings (https://www.reddit.com/prefs/apps)
# Ensure your app is set up as an "installed app" or "script" type.
# Your Reddit application's Client ID.
REDDIT_CLIENT_ID="YOUR_REDDIT_CLIENT_ID_HERE"
# A descriptive User-Agent string for your script.
# Format: <platform>:<app ID>:<version string> (by /u/<reddit username>)
# Example: MyRedditDataExtractor/0.1 by /u/YourRedditUsername
# See Reddit API rules: https://github.com/reddit-archive/reddit/wiki/API
REDDIT_USER_AGENT="MyRedditScript/0.1 by /u/YourUsername"
# The REDDIT_REFRESH_TOKEN is used for persistent authentication.
# This token will be automatically obtained and displayed in the console
# during the first successful run of the script (auth.py or the main script).
# After the first run, copy the REDDIT_REFRESH_TOKEN printed in the console
# and paste it here for subsequent non-interactive runs.
# Example (after first run): REDDIT_REFRESH_TOKEN="actual_refresh_token_value_here"
REDDIT_REFRESH_TOKEN=""
# Note: REDDIT_USERNAME and REDDIT_PASSWORD are not used by this script
# as it relies on OAuth 2.0 for authentication.