Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit Notification Support #366

Merged
merged 2 commits into from Mar 4, 2021
Merged

Reddit Notification Support #366

merged 2 commits into from Mar 4, 2021

Conversation

caronc
Copy link
Owner

@caronc caronc commented Mar 1, 2021

Description:

Related issue (if applicable): n/a

Added Reddit Support

Account Setup

  1. Visit https://www.reddit.com/prefs/apps and scroll to the bottom
  2. Click on the button that reads 'are you a developer? create an app...'
  3. Set the mode to script,
  4. Provide a name, description, and redirect uri (it can be anything).
  5. Save your configuration
  6. Once the bot is saved, you'll be given a ID (next to the the bot name) and a Secret.
  • The App ID will look something like this: YWARPXajkk645m
  • The App Secret will look something like this: YZGKc5YNjq3BsC-bf7oBKalBMeb1xA
  • The App will also have a location where you can identify the users/developers who can also use this key. By default it's already configured to be yours. You will need to use the user/pass of one of the accounts identified here as well to use the posting capabilities.

Syntax:

  • reddit://{user}:{password}@{app_id}/{app_secret}/{subreddit}
  • reddit://{user}:{password}@{app_id}/{app_secret}/{subreddit_1}/{subreddit_2}/{subreddit_N}

New Service Completion Status

  • apprise/plugins/NotifyReddit.py
  • setup.py
    • add new service into the keywords section of the setup() declaration
  • README.md
    • add entry for new service to table (as a quick reference)
  • packaging/redhat/python-apprise.spec
    • add new service into the %global common_description

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

@caronc caronc merged commit 9af0050 into master Mar 4, 2021
@caronc caronc deleted the reddit-support branch March 4, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant