Skip to content

kdniao sdk for jvm languages (under development)

License

Notifications You must be signed in to change notification settings

muxfe/kdniao-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kdniao-sdk

快递鸟 (kdniao.com) 非官方 Java SDK

目前支持的 API

Maven 安装

添加 JitPack Repository 到 pom.xml:

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

添加 Kdniao SDK 到 pom.xml:

<dependencies>
  <dependency>
    <groupId>com.github.muxfe</groupId>
    <artifactId>kdniao-sdk</artifactId>
    <version>11c9a7ad8b</version>
  </dependency>
</dependencies>

使用

KdniaoConfiguration kdniaoConfiguration =
  KdniaoConfiguration.builder().
    eBusinessID("YOUR E_BUSINESS_ID").
    appKey("YOUR APP_KEY").
    build();

KdniaoService kdniaoService =
  new KdniaoServiceImpl(kdniaoConfiguration);

TrackParameters parameters =
  TrackParameters.builder().
      shipperCode("SF").
      logisticCode("118650888018").
      build();

TrackResult result = kdniaoService.track(parameters);

License

MIT

About

kdniao sdk for jvm languages (under development)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages