{"repo":"jpush/jpush-api-python-client","free":true,"listed":false,"github":"https://github.com/jpush/jpush-api-python-client","clone":"git clone https://github.com/jpush/jpush-api-python-client.git","description":"JPush's officially supported Python client library for accessing JPush APIs. 极光推送官方支持的 Python 版本服务器端 SDK。","language":"Python","stars":214,"topics":["jpush","python","sdk"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"JPush API Python Client 概述 这是 JPush REST API 的 Python 版本封装开发包，是由极光推送官方提供的，一般支持最新的 API 功能。 对应的 REST API 文档： 兼容版本 + Python 2.7 + Python 3 环境配置 pip 方式： easy install 方式： 使用源码方式： 代码样例 代码样例在 jpush-api-python-client 中的 examples 文件夹中，点击查看所有 examples 。 以下片断来自项目代码里的文件：jpush-api-python-client 中的 examples/push examples 目录下的 example all.py 这个样例演示了消息推送，日志设置，异常处理。 日志说明 logging level 默认的是 WARNING ，为了方便调试建议设置为 DEBUG 设置方法为： 异常说明 + Unauthorized + AppKey，Master Secret 错误，验证失败必须改正。 + APIConnectionException + 包含错误的信息：比如超时，无网络等情况。 + JPushFailure + 请求出错，参考业务返回码。 HTTP 状态码 参考文档： Push v3 API 状态码 参考文档： Report API 状态码 参考文档： Device API 状态码 参考文档： Push Schedule API 状态码 参考文档： Release页面 有详细的版本发布记录与下载。","default_branch":null,"files":null,"tree":[],"storefront":"/r/jpush","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jpush/jpush-api-python-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}