An open API service indexing awesome lists of open source software.

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

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'