Skip to content

perl interface into various shipping web service API's - FedEx, UPS, Purolator, Temando

Notifications You must be signed in to change notification settings

Bottlenose/Shipment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYNOPSIS

use Shipment;

my $shipment = Shipment->new;
   
$shipment->ups(
  from_address => $shipment->address(...),
  to_address => $shipment->address(...),
  packages => [$shipment->package(...)]
);

foreach my $service ( $shipment->all_services ) {
  print $service->id . "\n";
}

$shipment->rate( 'express' );
print $service->cost . "\n";

$shipment->ship( 'ground' );
$shipment->get_package(0)->label->save;

DESCRIPTION

This library provides an interface to popular shipping/courier services.

See the relevant module for details on usage.

For code examples, see https://github.com/pullingshots/Shipment/tree/master/eg

AUTHOR

Andrew Baerg @ <andrew at pullingshots dot ca>

http://pullingshots.ca/

BUGS

Issues can be submitted at https://github.com/pullingshots/Shipment/issues

COPYRIGHT

Copyright (C) 2016 Andrew J Baerg, All Rights Reserved

NO WARRANTY

Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

perl interface into various shipping web service API's - FedEx, UPS, Purolator, Temando

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%