Skip to content

peterruggero/postmaster-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postmaster

Developer Friendly Shipping

Postmaster takes the pain out of sending shipments via UPS, Fedex, and USPS.

Save money before you ship, while you ship, and after you ship.

https://www.postmaster.io/

Requirements

Issues

Please use appropriately tagged github issues to request features or report bugs.

Installation

Maven

Add this dependency to your pom.xml:

<dependency>
    <groupId>io.postmaster</groupId>
    <artifactId>postmaster</artifactId>
    <version>0.1</version>
</dependency>

Or export to a jar file and include it in your project (with required dependencies).

Source

Download the postmaster-java source:

$ git clone https://github.com/postmaster/postmaster-java

Quickstart

Sample project is available (PostmasterClient). This is example of how to configure library and its dependencies, how to use it in code for simple Swing application. 

To run this application with Maven, use:

$ mvn exec:java -Dexec.mainClass="io.postmaster.client.postmasterclient.SimplePostmasterClient"

Setting Up

Please mind that there are two settings that this library is dependent upon:

Api key, which could be set by simply calling:
	PostMasterClient.setApiKey("MY_API_KEY");
	
Domain of Postmaster server which is located in library Settings class
	Settings.API_DOMAIN

Usage

See https://www.postmaster.io/docs for tutorials and documentation.

Testing

You can test particular jUnit test from your IDE or performing Maven test:

$ mvn test

Publishing

Sonatype OSS repository.

Snapshot

$ mvn clean deploy

Stage Release

$ mvn release:clean
$ mvn release:prepare
$ mvn release:perform

About

Java bindings for the Postmaster API.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages