Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.44 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.44 KB

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"
          );
      }
  }
}