SDKs & tools
Currently, we have SDKs available for the following languages:
The recommended way to install lob-php is through Composer.
curl -sS https://getcomposer.org/installer | php
Add Lob.com PHP client as a dependency
composer require lob/lob-php
After installing, you need to require Composer's autoloader:
Include the following in your pom.xml for Maven:
Don’t see your favorite language?
Postman is a great way for developers to get started on using Lob’s APIs. Our public workspace allows you and your team to collaborate and make sure you have everything you need to get familiar with Lob’s APIs.
Explore Lob's APIs with Postman:
Address Elements works by targeting the input elements of your address form and using their values with Lob's verification and autocomplete functionality.
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">
This is a very lightweight component that uses the Lob Autocomplete API in order to simplify the process of adding in a search autocomplete bar or form. Check out the Autocomplete API for more configuration options in Lob documentation.
npm install --save @lob/react-address-autocomplete
cURL is used in command lines or scripts to transfer data. We've included cURL code snippets in our documentation for each resource. By including your API key, you can run these commands from the terminal and see the response from Lob's API.
curl https://api.lob.com/v1/addresses \
We've written an OpenAPI v3 authored specification for the current Lob API. This provides users the ability to generate SDKs in languages not currently supported by Lob, import Lob operations and schemas into popular tools that support OpenAPI or define operations and schemas in middleware solutions.