Code Monkey home page Code Monkey logo

easemob4j's Introduction

easemob4j

环信开发工具包

功能列表

  • UserApi 用户API

  • NotifyApi 消息API

项目说明

环信REST接口实现

如何使用

1.接口的正确调用需要将easemob4j.properties文件复制到项目的classpath

easemob4j.properties说明

属性名 说明
easemob4j.account 环信账号信息 json格式
easemob4j.tmpdir easemob4j使用的临时目录,比如使用文件方式保存token时,如不设置则获取java.io.tmpdir目录.

示例(properties中换行用右斜杆\)

easemob4j.account={"orgName":"企业公司名","appName":"应用名",\
	"orgAdmin":"企业管理员","appAdmin":"应用管理员",\
	"clientId":"clientId","clientSecret":"clientSecret"}

easemob4j.tmpdir=

2.实例化一个EasemobProxy对象,调用API.

EasemobProxy easemobProxy = new EasemobProxy();
easemobProxy.createUser(user);

3.token存储

如何获取

1.maven

<dependency>
    <groupId>com.foxinmy</groupId>
    <artifactId>easemob4j</artifactId>
    <version>1.1.3</version>
</dependency>

2.git clone & mvn package.

easemob4j's People

Contributors

foxinmy avatar zexpp5 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.