JMessage's officially supported Python client library
Project description
Copyright (c) 2015 极光推送/IM JPush/JMesage
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: # JMessage API Python SDK
## 简介
这是 JMessage REST API 的 Python 封装开发包,是由极光推送官方提供的,一般支持最新的 API 功能。
对应的 REST API 文档:[https://docs.jiguang.cn/jmessage/server/rest_api_im/](https://docs.jiguang.cn/jmessage/server/rest_api_im/)
## 支持
Python 3
## 安装
```
$ pip install jmessage
```
## Examples
**注意: 这只是使用样例, 不应该直接用于实际环境中!!**
在下载的中的 [examples](https://github.com/jpush/jmessage-api-python-client/tree/master/examples) 文件夹有简单示例代码, 开发者可以参考其中的样例快速了解该库的使用方法。
> **注:所下载的样例代码不可马上使用,需要在项目根目录中的 `config.py` 文件中填入相关的必要参数。**另外为保护开发者隐私 config.py 文件不在版本控制中,需要使用如下命令手动复制:
```bash
$ cp config.py.example config.py
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jpush/jmessage-api-python-client.
## License
The library is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Keywords: JMessage,JMessage API,Android JMessage,iOS JMessage,Android IM,iOS IM
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: # JMessage API Python SDK
## 简介
这是 JMessage REST API 的 Python 封装开发包,是由极光推送官方提供的,一般支持最新的 API 功能。
对应的 REST API 文档:[https://docs.jiguang.cn/jmessage/server/rest_api_im/](https://docs.jiguang.cn/jmessage/server/rest_api_im/)
## 支持
Python 3
## 安装
```
$ pip install jmessage
```
## Examples
**注意: 这只是使用样例, 不应该直接用于实际环境中!!**
在下载的中的 [examples](https://github.com/jpush/jmessage-api-python-client/tree/master/examples) 文件夹有简单示例代码, 开发者可以参考其中的样例快速了解该库的使用方法。
> **注:所下载的样例代码不可马上使用,需要在项目根目录中的 `config.py` 文件中填入相关的必要参数。**另外为保护开发者隐私 config.py 文件不在版本控制中,需要使用如下命令手动复制:
```bash
$ cp config.py.example config.py
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jpush/jmessage-api-python-client.
## License
The library is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Keywords: JMessage,JMessage API,Android JMessage,iOS JMessage,Android IM,iOS IM
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file jmessage-2.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: jmessage-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.0 pkginfo/1.4.1 requests/2.13.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.11.2 CPython/3.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20083e50453ac5435d217d5fcbccea36b95f783408b6f3aa021b65206a150ca5 |
|
MD5 | fbab943f4f17f543adf1fc19bd6800b1 |
|
BLAKE2b-256 | 662c825d3040db49bd7d58be5f5433661eef7e3e0f04db95a06adaef929d7668 |