HubbleJava - Region Java SDK

region Java SDK

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.github.zhangchunsheng
ArtifactId

ArtifactId

hubble-java-region
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

HubbleJava - Region Java SDK
region Java SDK

Download hubble-java-region

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zhangchunsheng/hubble-java-region/ -->
<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>hubble-java-region</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/hubble-java-region/
implementation 'com.github.zhangchunsheng:hubble-java-region:1.0.0'
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/hubble-java-region/
implementation ("com.github.zhangchunsheng:hubble-java-region:1.0.0")
'com.github.zhangchunsheng:hubble-java-region:jar:1.0.0'
<dependency org="com.github.zhangchunsheng" name="hubble-java-region" rev="1.0.0">
  <artifact name="hubble-java-region" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zhangchunsheng', module='hubble-java-region', version='1.0.0')
)
libraryDependencies += "com.github.zhangchunsheng" % "hubble-java-region" % "1.0.0"
[com.github.zhangchunsheng/hubble-java-region "1.0.0"]

Dependencies

compile (15)

Group / Artifact Type Version
com.github.zhangchunsheng : hubble-java-common jar 1.0.0
org.jodd : jodd-http jar 3.7.1
org.apache.httpcomponents : httpclient jar 4.5
org.apache.httpcomponents : httpmime jar 4.5
org.apache.commons : commons-lang3 jar 3.5
commons-beanutils : commons-beanutils jar 1.9.4
org.bouncycastle : bcpkix-jdk15on jar 1.59
org.slf4j : slf4j-api jar 1.7.24
com.thoughtworks.xstream : xstream jar 1.4.11.1
org.slf4j : jcl-over-slf4j jar 1.7.24
com.google.code.gson : gson jar 2.8.0
commons-codec : commons-codec jar 1.10
commons-io : commons-io jar 2.5
com.google.guava : guava jar [24.1.1,)
org.dom4j : dom4j jar 2.1.3

provided (2)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8
com.squareup.okhttp3 : okhttp jar 3.7.0

test (7)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.1.11
org.testng : testng jar 6.10
org.assertj : assertj-guava jar 3.0.0
com.google.inject : guice jar 3.0
org.mockito : mockito-all jar 1.9.5
org.eclipse.jetty : jetty-server jar 9.4.17.v20190418
org.eclipse.jetty : jetty-servlet jar 9.4.17.v20190418

Project Modules

There are no modules declared in this project.

HubbleJava

API Java SDK

使用SDK

// spring boot, inject regionService
MobileCityResult result = this.regionService.getMobileCity("13429667914");

maven

Maven 引用方式

<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>hubble-java-region</artifactId>
    <version>1.0.0</version>
</dependency>

聚合region

{
    "resultcode":"200",
    "reason":"Return Successd!",
    "result":{
        "province":"浙江",
        "city":"杭州",
        "areacode":
        "0571",
        "zip":"310000",
        "company":"移动",
        "card":""
    },
    "error_code":0
}

捐助 donate

支付宝 微信
com.github.zhangchunsheng

coco bigdata

bigdata

Versions

Version
1.0.0