Socket
Socket
Sign inDemoInstall

github.com/c9845/upsfreight

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/c9845/upsfreight

Package upsfreight provides tooling to connect to the UPS Freight API. This is for truck shipments, not small parcels. Think LTL (less than truckload) shipments. This code was created off the UPS API documentation. This uses UPS's JSON API. You will need to have a UPS account and register for API access to use this code. Currently this package can perform: - pickup requests To create a pickup request: - Set your UPS credentials (SetCredentials()). - Set test or production mode (SetProductionMode()). - Set the packaging type (PackagingType{}). - Set the weight of the goods (Weight{}). - Create the shipment details (ShipmentDetail{}). - Create the pickup details (PickupRequestDetails{}). - Set a unique identifier for the pickup request (SetCustomerContext()). - Set the timeframe for the pickup (SetPickupSchedule()). - Request the pickup (RequestPickup()). - Check for any errors.


Version published

Readme

Source

upsfreight

A Package for Connecting to the UPS Freight API.

This is used for scheduling pickups (pickup request) using the UPS Freight API. This is used so you don't have to call or use the UPS website to schedule these pickups.

See the code for usage instructions.

FAQs

Last updated on 24 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc