redditPyTime
Using HTTP post requests, retrives uses name and karma points Using PRAW, scrapes top 10 Reddit Submission based on users subReddit entry. Gets submissions along with top upvotes and number of comments. Later on sorts top upvotes using python built in sort command. Using Binary Search Tree API displays sorted and unsorted tree of top upvotes. Then manual implementation of Binary Search Tree is performed on unsorted top upvotes, which results in a sorted Binary Search Tree At end, gives you a dashboard with Bar graph -> Submissions v. Top Score (sorted and unsorted) and Scatter graph -> Submission v. Comments
git clone repository
run -> python3 app.py Dashboard:
Sample Output: Username KingNAV82 comment_karma: -3 link_karma: 1 Sample Input: What do you like to search? gifs Sample Output:------------------------.gifs - funny, animated gifs for your viewing pleasure------------------------##### We now accept .gifv, .ogg, .mp4, and .webm formats
Links to amusing, interesting, or funny gifs from the web! .gif, .gifv, .ogg, .mp4, and .webm format submissions only, please!
For more in-depth explanations of the rules, view sticky!
---------------------------Before Sorting : ------------------------ 757 : /r/Gifs rules: Please read before submitting or commenting
125522 : Man is found not guilty after spending 25 years in prison ------------------------After Sorting : ------------------------ 757 : /r/Gifs rules: Please read before submitting or commenting
125522 : Man is found not guilty after spending 25 years in prison ------------------------Comments Section: ------------------------ /r/Gifs rules: Please read before submitting or commenting : 23
Issues: with email!!