https://github.com/anttargett/pythonredditbot
First attempt at a reddit bot
https://github.com/anttargett/pythonredditbot
Last synced: about 2 months ago
JSON representation
First attempt at a reddit bot
- Host: GitHub
- URL: https://github.com/anttargett/pythonredditbot
- Owner: AntTargett
- Created: 2018-07-24T11:24:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T05:59:15.000Z (almost 7 years ago)
- Last Synced: 2025-02-15T03:13:35.794Z (4 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RedditBotPlayground
First attempt at a reddit bot :D
Includes a script to read posts and a script to respond to posts## To run these scripts:
1. pip install praw
2. Create a praw.ini file
3. Copy the contents of the praw.ini.template into the praw.ini
4. Add the client secret, client id, username and password of your Reddit app in the praw.ini file### Useful Resources:
To create a Reddit app or get your app details,use this link, [Reddit App Page](https://www.reddit.com/prefs/apps/)
[Link to Reddit Api docs](https://www.reddit.com/dev/api/)
##### Properites of a 'submission' on Reddit
- 'approve'
- 'approved_by'
- 'author'
- 'domain'
- 'downs'
- 'downvote'
- 'edit'
- 'edited'
- 'saved'
- 'score'
- 'secure_media'
- 'secure_media_embed'
- 'selftext'
- 'selftext_html'
- 'title'
- 'ups'
- 'upvote'
- 'url'
- 'user_reports'
- 'visited'
- 'vote'