Skip to main content

UPS shipping interface

Project description

python-ups
==========

UPS shipping interface

Using
=======
from ups.client import UPSClient
from ups.model import Package, Address


credentials = {
'username': '',
'password': '',
'access_license': '',
'shipper_number': ''
}

shipper = Address(name='shipper address name', city='rio de janeiro',
address='', state='', zip='',
country='brazil')
recipient = Address(name='shipper address name', city='rio de janeiro',
address='', state='', zip='',
country='brazil')

packages = [Package(2, 3, 4, 5)]

ups = UPSClient(credentials)
response = ups.rate(packages=packages, packaging_type='2a',
shipper=shipper, recipient=recipient)

Project details


Release history Release notifications

History Node

0.0.4

This version
History Node

0.0.3

History Node

0.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-ups-0.0.3.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page