Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ax003d/pygetui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

pygetui

个推服务器端 Python 版

Features

目前支持NotifyMsg和LinkMsg两种类型的消息推送,支持离线消息推送。

Examples

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, [test_client],
 link='http://www.baidu.com')
gx.push_notification('notify title', 'notify message',
 PUSH_TYPE_NOTIFY, [test_client])
 

About

个推服务器端 Python 版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /