{"repo":"mikelane/reddit-get","free":true,"listed":false,"github":"https://github.com/mikelane/reddit-get","clone":"git clone https://github.com/mikelane/reddit-get.git","description":"A CLI for getting reddit content. Perfect for using with Obsidian templater","language":"Python","stars":29,"topics":["pythoon","reddit","obsidian","python3","praw","pytest","api"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Reddit Get This is a python CLI that will pull posts from Reddit. In order to use this CLI, you'll need to set up a Reddit app of your own so that you can authenticate into Reddit with your own credentials. Never fear, this process is pretty straight forward. Installation Using python 3.8 or later, run pip3 install reddit-get . But also, you need to set up a reddit cli app so you can access reddit through the command line. See below for that. Create a Reddit Application 1. Navigate to https://reddit.com/prefs/apps 1. Click create an app 1. You should see something like this: 1. You can then fill this form out with some values like these (choose whatever you like): After that, you'll need to find the client id and client secret for your new app and insert those into a configuration file on your system. Adding a Reddit-Get Config File 1. Create a file in your home directory called .redditgetrc (currently this is the default name and is only configurable when you call the script each time, so this name is probably for the best for now) 1. Make your reddit config file look like this: Once this is set up, you should be good to go. Example Usage Once you've got your cli app set up and reddit-get installed, you can run it like this: And here's what was returned today: For more help with the post command, you can of course run --- Enjoy! This is early stages, so I'll be adding more features as time goes on.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikelane","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikelane/reddit-get/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}