GithubHelp home page GithubHelp logo

pushover's Introduction

Pushover

a simple pushover command-line client to send messages you will need an account on pushover.net and an app token to use it

app token

app token can be passed either by command-line argument (-T) or by exporting the PUSHOVER_APP_TOKEN environment variable. you can create an app on your pushover user console.

push a message

usage: pushover push [-h] -k TARGET_KEY -m MESSAGE [-d DEVICE] [-t TITLE]
                     [-u URL] [-U URL_TITLE] [-p {-2,-1,0,1,2}]
                     [-s {pushover,bike,bugle,cashregister,classical,cosmic,falling,gamelan,incoming,intermission,magic,mechanical,pianobar,siren,spacealarm,tugboat,alien,climb,persistent,echo,updown,none}]
                     [-r RETRY] [-e EXPIRE] [-c CALLBACK]

optional arguments:
  -h, --help            show this help message and exit
  -k TARGET_KEY, --target-key TARGET_KEY
                        the user/group key (not e-mail address) of your user
                        (or you), viewable when logged into our dashboard
                        (often referred to as USER_KEY in the documentation
                        and code examples)
  -m MESSAGE, --message MESSAGE
                        your message
  -d DEVICE, --device DEVICE
                        your user's device name to send the message directly
                        to that device, rather than all of the user's devices
                        (multiple devices may be separated by a comma)
  -t TITLE, --title TITLE
                        your message's title, otherwise your app's name is
                        used
  -u URL, --url URL     a supplementary URL to show with your message
  -U URL_TITLE, --url-title URL_TITLE
                        a title for your supplementary URL, otherwise just the
                        URL is shown
  -p {-2,-1,0,1,2}, --priority {-2,-1,0,1,2}
                        send as -2 to generate no notification/alert, -1 to
                        always send as a quiet notification, 1 to display as
                        high-priority and bypass the user's quiet hours, or 2
                        to also require confirmation from the user
  -s {pushover,bike,bugle,cashregister,classical,cosmic,falling,gamelan,incoming,intermission,magic,mechanical,pianobar,siren,spacealarm,tugboat,alien,climb,persistent,echo,updown,none}, --sound {pushover,bike,bugle,cashregister,classical,cosmic,falling,gamelan,incoming,intermission,magic,mechanical,pianobar,siren,spacealarm,tugboat,alien,climb,persistent,echo,updown,none}
                        the name of one of the sounds supported by device
                        clients to override the user's default sound choice
  -r RETRY, --retry RETRY
                        how often (in seconds) the Pushover servers will send
                        the same notification to the user
  -e EXPIRE, --expire EXPIRE
                        how many seconds your notification will continue to be
                        retried for (every retry seconds)
  -c CALLBACK, --callback CALLBACK
                        publicly-accessible URL that Pushover servers will
                        send a request to when the user has acknowledged your
                        notification

check a receipt

usage: pushover receipt [-h] -r RECEIPT_ID

optional arguments:
  -h, --help            show this help message and exit
  -r RECEIPT_ID, --receipt-id RECEIPT_ID
                        the receipt id to query

pushover's People

Contributors

nlm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.