Skip to main content

ease-restapi is a Python package that use '' website REST API for you.

Project description


本实例使用了 request <>类库来调用环信的REST API, 在运行本示例代码之前, 请先参考 这里 <>安装.


本地开发说明, 本地代码在基于环信官方REST API的对接, 分几部分描述如下.


  • service包为对官方REST API的对接, 按功能模块依次组织代码, 文件名以 ease_ 为前缀标识.

  • service包__init__.py提供REST API实现的对外调用.

  • simplify包__init__.py提供环信与本地业务的对外调用, usage.py提供本地业务的调用注意点.

  • config.py为包配置模板文件.

  • demo包为本地账户与环信账户的对接的另一种形式.


  • 实用django生成项目.

  • config.py为该项目ease-restapi配置文件.

  • common.py为本地公共类库.

  • demo.py为service包的使用实例, 同时也是测试.

Two Integration Mode:

本地代码与环信账户的链接, 有两种形式: - 本地表的形式, 以demo中,, chkinfos.py为个单元, 实现本地账户与环信账户的对接. - 官方建议形式, 以simplify中bridge.py为单元, 实现本地账户与环信账户的对接. - 环信ID规则: <>

Attention Note:

  • 基于版本:2015-01-21

  • 后续官方REST API的一旦变动, service包的代码相应要微调.

  • project_demo中,, 请根据需要补全, 目前只保留用于web形式测试功能.


1.3 - 10-Feb-2015

  • fixed distributing file for careless

1.2 - 25-Jan-2015

  • First release

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ease-restapi-1.3.tar.gz (29.2 kB view hashes)

Uploaded source

Built Distributions

ease_restapi-1.3-py2.7.egg (72.3 kB view hashes)

Uploaded 2 7

ease-restapi-1.3.linux-x86_64.tar.gz (43.3 kB view hashes)

Uploaded any

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page