#api #address #user #location #usps #web-tools

usps-api

A wrapper around the USPS WebTools API

1 unstable release

0.0.1 Aug 19, 2019

#106 in #location

BSD-3-Clause

18KB
330 lines

Address Validator

This crate integrates with the USPS webtools API allowing you to verify user inputted addresses with official locations for more accurate record keeping.

Quickstart

This crate is a WIP. I thought it would be easy to wrap the USPS API but their documentation is incomplete, contradictory and wrong in many places making this endeavor a lot more daunting than anticipated. The only function that works (and barely at that) is address validation.

Do not use this crate until at least 0.1.0 except at your own risk.

Authentication

Examples

Verify

Zip Code Lookup

City / State Lookup

Formatting


lib.rs:

USPS WebTools

A Rust library for interfacing with the USPS Web API

Dependencies

~20MB
~437K SLoC