USPS API Integration

Component ID

2149405

Component name

USPS API Integration

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

486

Component created

Component changed

Component body

This is an integration module for the ">USPS PHP API by Vincent Gabriel to make it easier to use within Drupal.

The module makes a simple api that any module can use whether it's to calculate the cost of shipping something to a user, verifying a user's address before mailing them something to facilitate easier delivery, or tracking a package.

The 6 Main functions of the USPS Web Tools API

  1. Verifying an address
  2. Looking up city and state from a zip code
  3. Looking up zip code from a partial address
  4. Calculating the cost of shipping to a destination zip code
  5. Tracking a package
  6. Estimating the amount of time it will take a package to arrive

These have all been neatly packaged into a PHP API by Vincent Gabriel and then made more friendly to Drupal by this module.

This module requires the USPS PHP API library, so place it in sites/all/libraries/usps so that the path to the php files from that package is like sites/all/libraries/usps/USPSBase.php