Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isayme/xiaomi-push
小米推送服务Node SDK
https://github.com/isayme/xiaomi-push
Last synced: 12 days ago
JSON representation
小米推送服务Node SDK
- Host: GitHub
- URL: https://github.com/isayme/xiaomi-push
- Owner: isayme
- License: mit
- Created: 2015-09-05T02:32:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T05:21:21.000Z (over 4 years ago)
- Last Synced: 2024-11-14T02:18:22.550Z (about 1 month ago)
- Language: JavaScript
- Size: 92.8 KB
- Stars: 25
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xiaomi-push
> 小米推送服务Node版SDK, 欢迎提issue/pull request~官方未提供Node版的SDK, 此SDK依照官方文档[小米推送服务Server端SDK (MiPushServiceSDK for server)](http://dev.xiaomi.com/doc/?p=533)实现.
目前只实现Android相关部分, 未考虑IOS相关接口.
# 支持的特性
- Message: 用于构建要发送的消息内容
- Stats: 获取发送的消息统计数据
- Feedback: 获取反馈信息, 比如失效的regId列表. 注: 官方API目前仅支持安卓设备
- Notification: 通知发送相关
- Tracer: 状态跟踪
- Subscription: (取消)订阅标签# 安装及使用
npm install xiaomi-push --save
使用示例可以参看[example](./example).
# API说明
> 这个...# 联系我
`email`: `[email protected]`