Fancourier API client for Java

A Fancourier API client for Java

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.github.andreidore
ArtifactId

ArtifactId

fancourierclient
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Fancourier API client for Java
A Fancourier API client for Java
Project URL

Project URL

http://github.com/andreidore/fancourier-java-client
Source Code Management

Source Code Management

http://github.com/andreidore/fancourier-java-client/tree/master

Download fancourierclient

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
commons-io : commons-io jar 2.6
net.dongliu : requests jar 4.17.0
org.apache.commons : commons-csv jar 1.5

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
com.github.tomakehurst : wiremock jar 2.14.0

Project Modules

There are no modules declared in this project.

FanCourier client for java

Table of Contents

Maven

FanCourier client is now in maven central repo.

<dependency>
    <groupId>com.github.andreidore</groupId>
    <artifactId>fancourierclient</artifactId>
    <version>0.1.0</version>
</dependency>

Usage

Create client

FanCourierClient client = new FanCourierClient("username", "client_id","password");

Get cities

List<String[]> cities=client.getCitiesRaw();
or
Map<String,Set<City>> cities=client.getCities();

Todo

  • GetCities
  • Generate awb
  • Download awb

Versions

Version
0.1.0