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

Added Pushy Support #902

Merged
merged 4 commits into from
Jul 9, 2023
Merged

Added Pushy Support #902

merged 4 commits into from
Jul 9, 2023

Conversation

caronc
Copy link
Owner

@caronc caronc commented Jul 9, 2023

Description:

Related issue (if applicable): n/a

Added Pushy Support

  • Source: https://pushy.me/
  • Icon Support: No
  • Attachment Support: No
  • Message Format: Text
  • Message Limit: 4096 Characters per message

You need to have an account with Pushy and create an App.

Syntax

Valid syntax is as follows:

  • pushy://{apikey}/{targets}

Parameter Breakdown

Variable Required Description
apikey Yes This is the Secret API Key associated with your Pushy App
targets Yes This must be either a Topic or a Device. Topics should be prefixed with a # and Devices a @. If no prefix is specified, then it is assumed to be a Topic
sound No Optionally specify a sound you defined such as alarm.aiff.
badge No Provide a numerical value of 0 (zero) or greater to associate a badge with the bark icon on the iOS device.

New Service Completion Status

  • apprise/plugins/NotifyPushy.py
  • KEYWORDS
    • add new service into this file (alphabetically).
  • 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

Testing

Anyone can help test this source code as follows:

# Create a virtual environment to work in as follows:
python3 -m venv apprise

# Change into our new directory
cd apprise

# Activate our virtual environment
source bin/activate

# Install the branch
pip install git+https://github.com/caronc/apprise.git@pushy-support

# Test out the changes with the following command:
apprise -vv -t "Test Title" -b "Test Message" \
  "pushy://secretapikey/device"

@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (d7a5a60) 99.98% compared to head (cdd58aa) 99.98%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff            @@
##           master     #902    +/-   ##
========================================
  Coverage   99.98%   99.98%            
========================================
  Files         120      121     +1     
  Lines       16017    16135   +118     
  Branches     3272     3294    +22     
========================================
+ Hits        16015    16133   +118     
  Misses          1        1            
  Partials        1        1            
Impacted Files Coverage Δ
apprise/plugins/NotifyPushy.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@caronc caronc merged commit d674b6a into master Jul 9, 2023
14 checks passed
@caronc caronc deleted the pushy-support branch August 14, 2023 01:06
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.

2 participants