============
.NET Standard Wrapper for the Pushover API. Pushover makes it easy to send real-time notifications to your Android and iOS devices.
Install the NuGet package
Install-Package PushoverNET.StandardNext, you will need to provide Pushover.NET with your API key in code. Need help finding your API key? Check here: https://pushover.net/faq
In your application, call:
var pclient = new Pushover("Your-pushover-API-Key-here");
var options = new PushoverClient.Options
{
Recipients = "Your-pushover-user-here", //User, group or comma separated values
Priority = Priority.High,
Notification = NotificationSound.SpaceAlarm,
Html = true,
Url = "http://www.google.com"
};
pclient.Push("Message Title", "Message text", options);using PushoverClient;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
var pclient = new Pushover("Your-pushover-API-Key-here");
var options = new PushoverClient.Options
{
Recipients = "Your-pushover-user-here", //User, group or comma separated values
Priority = Priority.High,
Notification = NotificationSound.SpaceAlarm,
Html = true,
Url = "http://www.google.com"
};
pclient.Push("Message Title", "Message text", options);
}
}
}Please see example console application for more info
Converted from: https://github.com/danesparza/Pushover.NET