5290589 发表于 2017-5-5 08:40:34

个推消息推送服务端Python SDK

功能:

[*]支持NotifyMsg和LinkMsg两种类型的消息推送
[*]支持离线消息推送

示例:

from pygetui import *
gx = GXPushClient(appid='your appid',
appkey='your appkey',
mastersecret='your mastersecret')
test_client = 'xxx'
gx.push_notification('link title', 'link message',
PUSH_TYPE_LINK, ,
link='http://www.baidu.com')
gx.push_notification('notify title', 'notify message',
PUSH_TYPE_NOTIFY, )


github项目地址:
https://github.com/ax003d/pygetui
页: [1]
查看完整版本: 个推消息推送服务端Python SDK