Skip to content

Chatopera Java SDK

Latest
Compare
Choose a tag to compare
@hailiang-wang hailiang-wang released this 10 Nov 05:45
· 24 commits to master since this release

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, 点击链接加入群聊