Skip to content

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

Notifications You must be signed in to change notification settings

nightlybuilds-net/OneSignal-CSharp-RestApiSDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%