Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

OneSignal Logo

OneSignal-CSharp

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

Install via NuGet

PM> Install-Package OneSignal.CSharp.SDK.NetStandard

How to use

var client = new OneSignalClient($"{RestApiKey}");

var options = new NotificationCreateOptions();

options.AppId = $"{AppId}";
options.IncludedSegments = new List<string> { "Segment1" };
options.IncludeExternalUserIds = new List<string> { "CustomId1", "CustomId2" };
options.Contents.Add(LanguageCodes.English, "Hello world!");

client.Notifications.Create(options);

OneSignal Api Oficial Documentation

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

About

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

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages