This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Zip Code | Place Name | State | State Abbreviation | County | Latitude | Longitude | |
---|---|---|---|---|---|---|---|
501 | Holtsville | New York | NY | Suffolk | 40.8154 | -73.0451 | |
544 | Holtsville | New York | NY | Suffolk | 40.8154 | -73.0451 | |
1001 | Agawam | Massachusetts | MA | Hampden | 42.0702 | -72.6227 | |
1002 | Amherst | Massachusetts | MA | Hampshire | 42.3671 | -72.4646 | |
1003 | Amherst | Massachusetts | MA | Hampshire | 42.3919 | -72.5248 | |
1004 | Amherst | Massachusetts | MA | Hampshire | 42.3845 | -72.5132 | |
1005 | Barre | Massachusetts | MA | Worcester | 42.4097 | -72.1084 | |
1007 | Belchertown | Massachusetts | MA | Hampshire | 42.2751 | -72.411 | |
1008 | Blandford | Massachusetts | MA | Hampden | 42.1829 | -72.9361 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
// This step utilizes the Workspace Cleanup Plugin: https://wiki.jenkins.io/display/JENKINS/Workspace+Cleanup+Plugin | |
step([$class: 'WsCleanup']) | |
} | |
node { | |
sshagent (credentials: ['<< insert credentialsId here >>']) { | |
sh("git clone << your repo here, should be "git@..." like [email protected]:username/reponame.git >>") | |
} | |
} | |
node { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(.env) Scotts-MBP:skipper3 scottneaves$ curl --verbose --request GET --header "Authorization: Bearer 3duAHMpfAtZlwZR3n4yyeFVlOmo7" --header "Content-Type: application/json" --header "Accept: application/json" --header "Accept_Language: en-US" 'https://api-sandbox.pitneybowes.com/shippingservices/v2/ledger/developers/41806130/transactions/reports?fromDate=trash_value&toDate=garbage_value' | |
* Trying 52.72.237.59... | |
* Connected to api-sandbox.pitneybowes.com (52.72.237.59) port 443 (#0) | |
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
* Server certificate: *.pitneybowes.com | |
* Server certificate: Symantec Class 3 Secure Server CA - G4 | |
* Server certificate: VeriSign Class 3 Public Primary Certification Authority - G5 | |
> GET /shippingservices/v2/ledger/developers/41806130/transactions/reports?fromDate=trash_value&toDate=garbage_value HTTP/1.1 | |
> Host: api-sandbox.pitneybowes.com | |
> User-Agent: curl/7.43.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:ordoro_requests.core:========== Request POST https://api-sandbox.pitneybowes.com/shippingservices/v1/rates?includeDeliveryCommitment=True ========== | |
INFO:ordoro_requests.core:Headers: {'Connection': 'keep-alive', 'X-PB-TransactionId': '1470153978', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '650', 'Authorization': 'Bearer lAssraRCfL3GJFL704RNT1cFnZaZ', 'User-Agent': 'python-requests/2.10.0', 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-PB-Shipper-Rate-Plan': 'PP_SRP_NEWBLUE'} | |
DEBUG:ordoro_requests.core:Body: {"parcel": {"weight": {"weight": 14.0, "unitOfMeasurement": "OZ"}, "dimension": {"height": 7, "length": 8, "width": 3, "unitOfMeasurement": "IN"}}, "shipmentOptions": [], "rates": [{"specialServices": [{"specialServiceId": "DelCon"}], "parcelType": "PKG", "serviceId": "PM", "inductionPostalCode": "95110", "carrier": "USPS"}], "toAddress": {"addressLines": ["1 Infinite Loop"], "cityTown": "Cupertino", "stateProvince": "CA", "name": "Apple", "countryCode": "US", "post |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:ordoro_requests.core:========== Request POST https://api-sandbox.pitneybowes.com/shippingservices/v1/shipments?includeDeliveryCommitment=True ========== | |
INFO:ordoro_requests.core:Headers: {'X-PB-TransactionId': '1470154046', 'Connection': 'keep-alive', 'User-Agent': 'python-requests/2.10.0', 'X-PB-Shipper-Rate-Plan': 'PP_SRP_NEWBLUE', 'Authorization': 'Bearer NR80bs3XBmLeRwxdOZ0SU9qXHumG', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '1157', 'Content-Type': 'application/json', 'Accept': 'application/json'} | |
DEBUG:ordoro_requests.core:Body: {"toAddress": {"addressLines": ["1 Infinite Loop"], "residential": true, "email": "[email protected]", "company": null, "postalCode": "95014", "cityTown": "Cupertino", "countryCode": "US", "phone": "5122901212", "name": "Apple"}, "parcel": {"dimension": {"unitOfMeasurement": "IN", "height": 7, "width": 3, "length": 8}, "weight": {"unitOfMeasurement": "OZ", "weight": 14.0}}, "documents": [{"printDialogOption": "NO_PRINT_DIALOG", "fileFormat": "PNG", "size": "DOC_4X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fromAddress": { | |
"addressLines": ["345 Park Avenue"], | |
"cityTown": "San Jose", | |
"stateProvince": "CA", | |
"postalCode": "95110", | |
"countryCode": "US", | |
"name": "Adobe" | |
}, | |
"toAddress": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fromAddress": { | |
"addressLines": ["345 Park Ave"], | |
"cityTown": "San Jose", | |
"stateProvince": "CA", | |
"postalCode": "95110", | |
"countryCode": "US", | |
"company": "", | |
"name": "Adobe", | |
"phone": "5122901212", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fromAddress": { | |
"addressLines": ["345 Park Ave"], | |
"cityTown": "San Jose", | |
"stateProvince": "CA", | |
"postalCode": "95110", | |
"countryCode": "US", | |
"company": "", | |
"name": "Adobe", | |
"phone": "5122901212", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl --verbose --header "X-PB-Shipper-Rate-Plan: PP_SRP_NEWBLUE" --header "Content-Type: application/json" --header "Authorization: Bearer 5Es6wB0eAPCoE49VRcYqnQPj9RpH" --header "X-PB-TransactionId: ${rand_ints[1]}" --header "Accept: application/json" --data '{"devUserName": "[email protected]", "shipperRegistration": {"phoneNumber": "5122901212", "address": {"city": "San Jose", "addressLine1": "345 Park Avenue", "state": "CA", "isoCountryCode": "US", "postalCode": "95110"}, "companyName": "Company Name", "fullName": "Customer Name", "emailAddress": "ordoro-pitney-'$RANDOM'@mailinator.com"}, "devPassword": "Vulcan1234"}' --request "POST" 'https://api-sandbox.pitneybowes.com/shippingservices/v1/developers/38196030/merchants/registration' | |
curl --verbose --header "X-PB-Shipper-Rate-Plan: PP_SRP_NEWBLUE" --header "Content-Type: application/json" --header "Authorization: Bearer 5Es6wB0eAPCoE49VRcYqnQPj9RpH" --header "X-PB-TransactionId: ${rand_ints[1]}" --header "Accept: application/json" --data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rand_ints=($RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM, $RANDOM) | |
#Get Rate | |
curl --verbose --header "X-PB-Shipper-Rate-Plan: PP_SRP_NEWBLUE" --header "Content-Type: application/json" --header "Authorization: Bearer qM8d3q3rQtrq9p4uow5qskEKMYdg" --header "X-PB-TransactionId: ${rand_ints[0]}" --header "Accept: application/json" --data '{"parcel": {"dimension": {"height": 7, "width": 3, "unitOfMeasurement": "IN", "length": 8}, "weight": {"unitOfMeasurement": "OZ", "weight": 14.0}}, "fromAddress": {"cityTown": "San Jose", "countryCode": "US", "stateProvince": "CA", "name": "Best Western", "postalCode": "95110", "addressLines": ["345 Park Avenue"]}, "rates": [{"inductionPostalCode": "95110", "carrier": "USPS", "specialServices": [{"specialServiceId": "DelCon"}], "parcelType": "PKG", "serviceId": "PM"}], "toAddress": {"cityTown": "Cupertino", "countryCode": "US", "stateProvince": "CA", "name": "Apple", "postalCode": "95014", "addressLines": ["1 Infi |
NewerOlder