Skip to content

danesparza/Pushover.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pushover.NET Build status NuGet

.NET Wrapper for the Pushover API. Pushover makes it easy to send real-time notifications to your Android and iOS devices with customized messages and sounds.

Quick Start

Install the NuGet package

Install-Package PushoverNET

Next, 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:

Pushover pclient = new Pushover("Your-apps-API-Key-here");
PushResponse response = pclient.Push(
              "Test title", 
              "This is the test message.", 
              "User-key-to-send-to-here"
          );

Examples

Pushing a message:
using PushoverClient;

namespace ConsoleApplication1
{
  class Program
  {
      static void Main(string[] args)
      {
          Pushover pclient = new Pushover("Your-apps-API-Key-here");

          PushResponse response = pclient.Push(
              "Test title", 
              "This is the test message.", 
              "User-key-to-send-to-here"
          );
      }
  }
}