Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danesparza/pushover.net

:mega: .NET Wrapper for the Pushover API
https://github.com/danesparza/pushover.net

c-sharp notifications nuget pushover

Last synced: 2 months ago
JSON representation

:mega: .NET Wrapper for the Pushover API

Awesome Lists containing this project

README

        

Pushover.NET [![Build status](https://dev.azure.com/danesparza0161/Pushover.NET/_apis/build/status/Pushover.NET)](https://dev.azure.com/danesparza0161/Pushover.NET/_build/latest?definitionId=4) [![NuGet](https://img.shields.io/nuget/v/PushoverNET.svg)](https://www.nuget.org/packages/PushoverNET/)
============

.NET Wrapper for the [Pushover](http://pushover.net) 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](http://www.nuget.org/packages/PushoverNET/)
```powershell
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:

```CSharp
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:

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