chatopera-java-sdk
企业聊天机器人-Java端示例程序
下载
下载jar包,地址。
安装
mvn install:install-file -Dfile=<path-to-sdk-1.0.1.jar> \
-DgroupId=com.chatopera.bot \
-DartifactId=sdk -Dversion=1.0.1 \
-Dpackaging=jar
配置
写入依赖到pom.xml
中
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.3.6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>4.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.3.6</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20140107</version>
</dependency>
<dependency>
<groupId>com.mashape.unirest</groupId>
<artifactId>unirest-java</artifactId>
<version>1.4.9</version>
</dependency>
<dependency>
<groupId>com.chatopera.bot</groupId>
<artifactId>sdk</artifactId>
<version>1.0.1</version>
</dependency>
使用说明
Chatopera开发者平台:809987971, 点击链接加入群聊