Skip to content

fgrijze/PushoverAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PushoverAPI

Send a message via the Pushover API

Example

require "PushoverAPI.inc";

$Pushover = new \PushoverAPI();

$Pushover->setAppToken(""); // Enter your app token
$Pushover->setUserKey(""); // Enter your user key

$Pushover->setMessage("This message is for testing purpose only."); // Enter the message

try {
	$Pushover->sendMessage();
	
	echo "Message sent!";
}
catch (Exception $e) {
	echo "Unable to send message ({$e->getMessage()})";
}

About

Send a message via the Pushover API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages