Commit 71e24d86 authored by fendouai's avatar fendouai

Merge branch 'dev' of https://github.com/jpush/jpush-api-python-client into dev

parents 0a682d08 da56ec3f
...@@ -7,11 +7,7 @@ ...@@ -7,11 +7,7 @@
## 兼容版本 ## 兼容版本
+ Python 2.7 + Python 2.7
+ Python 3 ,可以运行,建议继续使用 jpush 3.1.2 ,经过完整测试后会发布新版本。 + Python 3
建议 Python3 的开发者继续使用 jpush 3.1.2,pip 地址:
> https://pypi.python.org/pypi?:action=display&name=jpush&version=3.1.2
## 环境配置 ## 环境配置
......
...@@ -7,5 +7,6 @@ push.audience = jpush.all_ ...@@ -7,5 +7,6 @@ push.audience = jpush.all_
ios_msg = jpush.ios(alert="Hello, IOS JPush!", badge="+1", sound="a.caf", extras={'k1':'v1'}) ios_msg = jpush.ios(alert="Hello, IOS JPush!", badge="+1", sound="a.caf", extras={'k1':'v1'})
android_msg = jpush.android(alert="Hello, android msg") android_msg = jpush.android(alert="Hello, android msg")
push.notification = jpush.notification(alert="Hello, JPush!", android=android_msg, ios=ios_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.platform = jpush.all_
push.send() 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