Score
0
Watch 14 Star 19 Fork 7

玛雅牛 / ShortUrlApiJavaApache-2.0

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

#ShortUrlApi 短地址生成器接口,目前仅实现了网易126.am的短地址生成器接口。
如何使用:
Am126ShortUrlGenerater sug = new Am126ShortUrlGenerater();
//这个apikey需要在126.am网站上申请。
sug.setApiKey("b4df5122444bb4198387f09");
//生成指定参数的短地址
ShortUrlResult sur = sug.generate("http://www.wellbole.com");
//生成成功,打印出结果
if(sur.isOk()){
log.info("shortUrl:" + sur.getShortUrl());
}

Comments ( 0 )

Sign in for post a comment

About

短地址api接口实现 spread retract
Java
Apache-2.0
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more