Reddit Cli is a reddit command line interface which could be used to browse and read data from reddit.
Reddit-CLI requires python 3 or above. Get it from here
-
Clone repository to your Desktop.
-
Download and Extract.
-
Open command prompt and cd to the reddit-cli directory:
-
For installing required packages.
pip install -r requirements.txt- Create credential.json with following format.
{"client_id":"<client_id>", "client_secret":"<client_secret>", "user_agent":"('platform:''com.package.reddit:v1.0''(by /u/username)')"}- You can get your client_id and client_secret by creating an app through this link.
To run the python script run the following command in terminal after finishing the installation process and configuring credentials.json file.
python -m redditFollow the instructions on the terminal screen afterwards.
The features of our Reddit CLI are as follows:-
- Find the subreddits followed by our user.
- Get the list of users blocked by our user.
- Browse subreddit posts