Language: Python 3.7.8
Tools:
- requests for HTTP requests
- click for command-line tasks
- memcached for caching
- prettytable to print out tabular data
Download project files
git clone git@github.com:henriquesgabriel/reddit-api-cli.git
Switch to the repo folder
cd reddit-api-cli
Build and install project dependencies
docker-compose up --build
Run program
docker-compose run cli python main.py
You can modify the subreddit and/or listing size optionally
docker-compose run cli python main.py --subreddit='popular' --limit=15
docker-compose run cli python -m unittest