0.1.16 • Published 4 years ago

getntified v0.1.16

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

getntified

A JavaScript client library for the Get Ntified platform.

Installation

npm install --save getntified

Get Started (NPM)

  • Create a new application
  • Add the getntified package to your project.
    • npm install --save getntified
  • Add this code to your service worker.
    • https://cdn.jsdelivr.net/npm/getntified/web/other/service-worker.js

Get Started (CDN)

  • Create a new application
  • Add the getntified script to your project.
    • <script src="https://cdn.jsdelivr.net/npm/getntified/web/index.js"><script>
  • Add this code to your service worker.
    • https://cdn.jsdelivr.net/npm/getntified/web/other/service-worker.js

Subscription Client API

import { SubscriptionClient } from 'getntified';

const subscriptionClient = new SubscriptionClient('application-id');

await subscriptionClient.subscribe();

// Optional
await subscriptionClient.setMeta({
  emailAddress: 'ricky.prescott@example.com',
  fullName: 'Ricky Prescott',
});

Notification Client API

import { NotificationClient } from 'getntified';

const notificationClient = new NotificationClient('application-id');

await notificationClient.sendSimple(
  'Monday',
  'Morning {{ fullName }}, heavy rain from this morning through the late night. You should take your umbrella today.',
  'https://example.com',
);

Author

Startup 55 (Pty) Ltd

License

This project is licensed under the MIT license. See the LICENSE file for more info.

0.1.16

4 years ago

0.1.13

5 years ago

0.1.14

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.28

5 years ago

0.0.29

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.16

5 years ago

0.0.17

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago