Skip to content

Commit d204ca9

Browse files
committed
added venv to .gitignore & updated rate_request example
1 parent 7ea2ca8 commit d204ca9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ doc_src/_sources/*
1414
doc_src/_static/*
1515
doc_src/*.html
1616
doc_src/_build/*
17+
/venv

examples/rate_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@
4141
rate_request.RequestedShipment.PackagingType = 'YOUR_PACKAGING'
4242

4343
# Shipper's address
44+
rate_request.RequestedShipment.Shipper.Address.StateOrProvinceCode = 'SC'
4445
rate_request.RequestedShipment.Shipper.Address.PostalCode = '29631'
4546
rate_request.RequestedShipment.Shipper.Address.CountryCode = 'US'
4647
rate_request.RequestedShipment.Shipper.Address.Residential = False
4748

4849
# Recipient address
50+
rate_request.RequestedShipment.Recipient.Address.StateOrProvinceCode = 'NC'
4951
rate_request.RequestedShipment.Recipient.Address.PostalCode = '27577'
5052
rate_request.RequestedShipment.Recipient.Address.CountryCode = 'US'
5153
# This is needed to ensure an accurate rate quote with the response.

0 commit comments

Comments
 (0)