Not require login + added get_comments + added get_user_*
Removed commented code refering to the deleted .pm files.
- Changed OO module from Moose to Mouse. Mouse is smaller, faster, and doesn't need as many dependencies. Since this module doesn't use advanced OO principles, Mouse is preferable. - Squashed some bugs related to submit_story and such. - Removed useless User and Subreddit modules. They weren't necessary or being used. - Removed the uncessary global variables pertaining to api urls. Hardcoding reduces complexity and improves readability.
…ce for details.
… allows the application to retrieve non-sensitive information without requiring a login. This should be the prefered behavior in my opinion. As of now, the user will need to know what functions require a login and which do not. I plan to implement a check for this in the future.
This commit adds several get_user_* methods: get_user_overview get_user_submitted get_user_comments get_user_liked get_user_disliked get_user_saved Also included *username_available* method for checking availability of a username.
get_subreddit added to retrieve subreddit post listing information
*get_subreddit* method will return posts from a specific subreddit. It allows the specification of amount to return and from which sort field (ex: hot,new). It also accepts other values specified on the Reddit api such as listing before and after a certain post id.
…is missing documentation
…ple times; added by: @Basic/GatherDir (Dist::Zilla::Plugin::GatherDir line 103); @Basic/Readme (Dist::Zilla::Plugin::Readme line 39)
Reddit.pm comment id tag
Comment id's require a prefix of t1_ or t3_ depending on whether it is a top-level comment or a sub-comment. Top level comments use the post's id (5 characters) and sub-comments use the parent comment's id (7 characters).