Commit b349a3d6 authored by fendouai's avatar fendouai

fix the example and readme

parent 846c1534
......@@ -7,11 +7,7 @@
## 兼容版本
+ Python 2.7
+ Python 3 ,可以运行,建议继续使用 jpush 3.1.2 ,经过完整测试后会发布新版本。
建议 Python3 的开发者继续使用 jpush 3.1.2,pip 地址:
> https://pypi.python.org/pypi?:action=display&name=jpush&version=3.1.2
+ Python 3
## 环境配置
......
......@@ -7,5 +7,6 @@ push.audience = jpush.all_
ios_msg = jpush.ios(alert="Hello, IOS JPush!", badge="+1", sound="a.caf", extras={'k1':'v1'})
android_msg = jpush.android(alert="Hello, android msg")
push.notification = jpush.notification(alert="Hello, JPush!", android=android_msg, ios=ios_msg)
push.message=jpush.message("content",extras={'k2':'v2','k3':'v3'})
push.platform = jpush.all_
push.send()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment