Skip to content

About

JiGuang's officially supported Java client library for accessing JSMS APIs. 极光官方支持的 JSMS Java 版本服务器端 SDK。

Resources

Stars

31 stars

Watchers

10 watching

Forks

Latest commit

 

History

153 Commits

Folders and files

Repository files navigation

JSMS API JAVA CLIENT

概述

这是短信 Rest API 的 Java 版本封装开发包,是由极光推送官方提供的,一般支持最新的 API功能。

对应的 Rest API 文档:https://docs.jiguang.cn/jsms/server/rest_api_summary/

安装

maven 方式

将下边的依赖条件放到你项目的 maven pom.xml 文件里。

其中 slf4j 可以与 logback, log4j, commons-logging 等日志框架一起工作,可根据你的需要配置使用。

其中 LATEST_VERSION 的值可在 release 页面 获取

<dependency>
    <groupId>cn.jpush.api</groupId>
    <artifactId>jsms-client</artifactId>
    <version>LATEST_VERSION</version>
</dependency>
<dependency>
	<groupId>com.google.code.gson</groupId>
	<artifactId>gson</artifactId>
	<version>2.3</version>
</dependency>
<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j-api</artifactId>
	<version>1.7.7</version>
</dependency>
<dependency>
    <groupId>cn.jpush.api</groupId>
    <artifactId>jiguang-common</artifactId>
    <version>1.0.8</version>
</dependency>
<!-- For log4j -->
<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j-log4j12</artifactId>
	<version>1.7.7</version>
</dependency>
<dependency>
	<groupId>log4j</groupId>
	<artifactId>log4j</artifactId>
	<version>1.2.17</version>
</dependency>

jar 包方式

项目 libs/ 目录下可以找到 slf4j 及 gson jar 包 可复制到你的项目里去。

About

JiGuang's officially supported Java client library for accessing JSMS APIs. 极光官方支持的 JSMS Java 版本服务器端 SDK。

Resources

Stars

31 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages