node-one-signal:用于One Signal API的Node.js包装器

时间:2021-05-04 05:57:39
【文件属性】:
文件名称:node-one-signal:用于One Signal API的Node.js包装器
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-04 05:57:39
JavaScript 节点一信号 用于One Signal API的Node.js包装器 安装 您可以通过npm安装该软件包: npm install nodejs-one-signal 用法 添加新设备 const OneSignal = require ( 'nodejs-one-signal' ) ; const client = new OneSignal ( 'appId' , 'restApiSecret' ) ; client . addDevice ( { "identifier" : "ce777617da7f548fe7a9ab6febb56cf39fba6d382000c0395666288d961ee566" , "timezone" : "-28800" , "device_type" : 1 } ) . then ( response => { co
【文件预览】:
node-one-signal-master
----.gitignore(17B)
----package.json(529B)
----package-lock.json(40KB)
----src()
--------OneSignal.js(3KB)
----index.js(74B)
----README.md(2KB)
----test()
--------.env.example(21B)
--------index.js(2KB)

网友评论