Skip to content

v1.0.0

Compare
Choose a tag to compare
@danh91 danh91 released this 01 Mar 18:44

Major release v1.0.0

Introduce fluent Interface

import purplship
proxy = purplship.gateway['aups'].create({
    "server_url": "https://digitalapi.auspost.com.au/test",
    "username": "username",
    "password": "password",
    "account_number": "1234567"
})

rates = purplship.rating.fetch(
    shipper={"postal_code": "H3N1S4", "country_code": "CA"},
    recipient = {"city": "Lome", "country_code": "TG"},
    shipment = {
        "items": [
            {"id": "1", "height": 3, "length": 10, "width": 3, "weight": 4.0}
        ]
    }
).from_(aups).parse()

Integrate Basic Australia post service

  • Quotes (ShippingPriceRequest)
  • Tracking

Changes

  • added 'suburb' to Party (address)
  • introduce jstruct
  • use attrs for dataclasses