Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 773 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 773 Bytes

push-me

Push me notifications from any device.

Python3 Python3

Install packages

git clone https://github.com/r-f-g/push-me.git
pip install push-me/.

Usage of SlackBot

from pushme import Slack

#set your slackbot
Slack.bot(SLACK_BOT_TOKEN, BOT_NAME)
#send message
Sleck.message(USER, MESSAGE)

Usage of Pushover

from pushme import Pushover

#set your pushover
#PUSHOVER_API_TOKENS = {USER: TOKEN, ...}
Pushover.set(PUSHOVER_TOKEN, PUSHOVER_API_TOKENS)
#send message
Pushover.message(API, MESSAGE, TITLE='INFO')