All Projects → scoutforpets → node-onesignal

scoutforpets / node-onesignal

Licence: MIT license
Node.js wrapper for the One Signal API

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-onesignal

Onesignal Website Sdk
OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 338 (+924.24%)
Mutual labels:  push-notifications, onesignal
OneSignal-Codeigniter-Push-Notification
OneSignal is a free push notification service for web and mobile apps. This Codeigniter example makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com/ DEMO - http://ci3onesignal.codefort.ru/
Stars: ✭ 27 (-18.18%)
Mutual labels:  push-notifications, onesignal
OneSignal-Ionic-Sample
No description or website provided.
Stars: ✭ 85 (+157.58%)
Mutual labels:  push-notifications, onesignal
Onesignal Ionic Example
Stars: ✭ 89 (+169.7%)
Mutual labels:  push-notifications, onesignal
Onesignal Python
Python client for OneSignal push notification service
Stars: ✭ 33 (+0%)
Mutual labels:  push-notifications, onesignal
Onesignal Ios Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Stars: ✭ 370 (+1021.21%)
Mutual labels:  push-notifications, onesignal
OneSignal-Java-SDK
OneSignal SDK
Stars: ✭ 28 (-15.15%)
Mutual labels:  push-notifications, onesignal
Onesignal Android Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native Android or Amazon app with OneSignal. https://onesignal.com
Stars: ✭ 503 (+1424.24%)
Mutual labels:  push-notifications, onesignal
React Native Onesignal
React Native Library for OneSignal Push Notifications Service
Stars: ✭ 1,270 (+3748.48%)
Mutual labels:  push-notifications, onesignal
Onesignal Cordova Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Ionic, PhoneGap CLI, PhoneGap Build, Cordova, or Sencha Touch app with OneSignal. Supports Android, iOS, and Amazon's Fire OS platforms. https://onesignal.com
Stars: ✭ 214 (+548.48%)
Mutual labels:  push-notifications, onesignal
ionic3-woocommerce
Ionic 3 Woocommerce Template
Stars: ✭ 17 (-48.48%)
Mutual labels:  onesignal
mobile-push
A push notification library
Stars: ✭ 21 (-36.36%)
Mutual labels:  push-notifications
VaporGCM
A simple Android GCM/FCM library for Swift/Vapor
Stars: ✭ 25 (-24.24%)
Mutual labels:  push-notifications
mailrise
An SMTP gateway for Apprise notifications.
Stars: ✭ 352 (+966.67%)
Mutual labels:  push-notifications
FcmNotificationHandler
Android library that helps to construct and launch system tray notifications from FCM Notification messages received when the app is in foreground mimicking the default format and behavior applied when the app is background.
Stars: ✭ 18 (-45.45%)
Mutual labels:  push-notifications
react-native-template
An opinionated template to bootstrap your next React Native app with all the time-wasting packages you need to have.
Stars: ✭ 132 (+300%)
Mutual labels:  push-notifications
fcm
Golang client library for Firebase Cloud Messaging.
Stars: ✭ 22 (-33.33%)
Mutual labels:  push-notifications
Firebase Ios Sdk
Firebase iOS SDK
Stars: ✭ 3,309 (+9927.27%)
Mutual labels:  push-notifications
react-native-android-notification-listener
React Native Android Notification Listener - Listen for status bar notifications from all applications
Stars: ✭ 87 (+163.64%)
Mutual labels:  push-notifications
food-delivery-ios-app
A food delivery application built using Swift for iOS. The application uses Pushers notifications feature to send push notifications to mobile devices.
Stars: ✭ 36 (+9.09%)
Mutual labels:  push-notifications

OneSignal SDK for Node.js Build Status

This is an unofficial Node.js SDK for the OneSignal Push Notification Service, which wraps their REST API.

Basic Usage

// require the module
const OneSignalClient = require('node-onesignal');

// create a new clinet
const client = new OneSignalClient([YOUR APP ID], [YOUR REST API KEY]);

// send a notification
client.sendNotification('test notification', {
    included_segments: 'all'
});

API

OneSignalClient(appId, restApiKey)

  • appId(string, required) - your OneSignal App ID

  • restApiKey(string, required) - your OneSignal REST API Key

sendNotification(message, options)

  • message(string/object, required) - the content of your message. Note: when passing an object, please see the OneSignal documentation for details on the format.

  • options(object) - OneSignal options. Please see the OneSignal documentation.

As you can see, this SDK does not implement all of the methods available through the OneSignal REST API. If there are other methods you require, please open an issue or feel free to create a PR (with tests!).

Contributing

Just open a PR and include tests. Any help is greatly appreciated!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].