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

https://github.com/passeriform/snoorand

snooRand fetches a random post from a subreddit. That's it.
https://github.com/passeriform/snoorand

Last synced: 4 months ago
JSON representation

snooRand fetches a random post from a subreddit. That's it.

Awesome Lists containing this project

README

          

# snooRand
*snooRand fetches a random post from a subreddit. That's it.*

The project is a flask based application using PRAW for reddit parsing.

------

To start using:

- Create new virtualenv `python -m virtualenv venv`

- Activate the virtualenv

- Windows `\> . venv/Scripts/activate`
- Linux/OSX `$ . venv/bin/activate`

- Install dependencies `python -m pip install -r requirements.txt`

- Create a script application key-secret pair on reddit developer API

- Modify .env file accordingly

- Run the application `python main.py`