SDKs & libraries

SDKs

Currently, we have SDKs available for the following languages:

lob-typescript-sdk

Installation

Lob's TypeScript SDK can be installed through NPM: $ npm i @lob/lob-typescript-sdk

To build and install from the latest source: $ git clone git@github.com:lob/lob-typescript-sdk.git

$ npm install

Learn more at the lob-typescript-sdk repository on GitHub.

Don’t see your favorite language?

Let us know which language you’d like us to support next. Drop us an email.

Libraries

Address Elements

Address Elements works by targeting the input elements of your address form and using their values with Lob's verification and autocomplete functionality.

address-elements

Registration

Create an account at Lob.com to obtain a Live Public API Key. The key is available in the Lob settings panel and uses the format, live_pub_*.

Usage

Embed the Lob Address Elements script immediately before the closing tag in the HTML containing your address form. The script will autodetect your form and its inputs.

<script src="https://cdn.lob.com/lob/address-elements/2.2.1/address-elements.min.js" data-lob-key="live_pub_xxx">

Learn more at the address-elements repository on GitHub.

Last updated