notificationapi-node-server-sdk:在node.js中使用NotificationAPI的服务器端(后端)JavaScript SDK

时间:2021-05-07 19:02:59
【文件属性】:
文件名称:notificationapi-node-server-sdk:在node.js中使用NotificationAPI的服务器端(后端)JavaScript SDK
文件大小:69KB
文件格式:ZIP
更新时间:2021-05-07 19:02:59
JavaScript 安装 npm install notificationapi-node-server-sdk 警告: 请注意,此软件包仅用于服务器端的node.js框架。 用法 1.进口或要求 import notificationapi from 'notificationapi-node-server-sdk' 或者: const notificationapi = require('notificationapi-node-server-sdk').default 2.初始化 notificationapi.init(CLIENT_ID, CLIENT_SECRET) 您可以从信息中心的“ API密钥”部分获取clientId和clientSecret。 3.发送通知 基本用法 notificationapi.send({ notificationId: 'welcome-notific
【文件预览】:
notificationapi-node-server-sdk-master
----.eslintrc(249B)
----.github()
--------workflows()
----src()
--------interfaces.ts(307B)
--------index.ts(1KB)
--------__tests__()
----.vscode()
--------launch.json(362B)
----scripts()
--------replaceVerison.sh(376B)
----tsconfig.json(365B)
----jest.config.js(6KB)
----.prettierrc(95B)
----README.md(2KB)
----.gitignore(26B)
----package-lock.json(265KB)
----package.json(1KB)

网友评论