Skip to content

stone-payments/OneSignal-CSharp-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneSignal Logo

OneSignal-CSharp

A General purpose rest ApiClient write in C# language for the OneSignal API

Build status

Install via NuGet

PM> Install-Package OneSignal.CSharp.SDK

How to use

var client = new OneSignalClient("ZWM3YThlMmQtMzY1NC00ODI1LTlkYjMtMTk3MzI2OTQzMjVh");

var options = new NotificationCreateOptions();

options.AppId = "089e4845-9849-4157-8b29-71e174af3abf";
options.IncludedSegments = new List<string> { "All" };
options.Contents.Add(LanguageCodes.English, "Hello world!");

client.Notifications.Create(options);

OneSignal Api Oficial Documentation

[OneSignal Server API] (https://documentation.onesignal.com/reference)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.7%
  • Batchfile 0.3%