Location Intelligence APIs help you to Incorporate Pitney Bowes extensive geodata into everyday applications, business processes, and workflows. Use our SDKs to get started quickly and easily integrate API calls in your applications.
-
GeoCode: Converts addresses to location coordinates and vice versa. The GeoCode API returns latitude & longitude coordinates with the input of an address and vice versa. Useful for enhancing & enriching your customer addresses.
-
GeoSearch: Returns an autocompleted list of addresses and places based on the input of a partial address. Useful for commercial developers and content providers, or anyone wanting to offer their own search.
-
GeoMap: Adds data and more atop Maps. Choose from three map styles - Iron, Bronze, and Steel.
-
GeoZone: Returns drive Distance and Drive Time Zones with the input of Location Coordinates or Addresses. Useful for anyone wanting to create smarter geofence zones for Local Engagement and Analysis.
-
GeoRoute: Returns Point-to-Point and Multi-Point Travel Directions by Various Travel Modes. Critical for any Simple or Complex Routing Requirement.
-
GeoEnrich : Returns addresses, place names, points-of-interest and timezones with the input of a location coordinate. Useful for enhancing & enriching your geo-tagged data.
-
GeoRisk: Returns critical risk intelligence with the input of Location Coordinates or Addresses. Critical for any Risk Mitigation Analyses involving threats to lives or property.
-
Geo911: Integrates Public Safety Answering Point (PSAP) administrative call routing information plus Authority Having Jurisdiction (AHJ) phone numbers into your 911 products and services. The Geo911 API retrieves 10-digit phone numbers and local contact info with the input of a location coordinate. Useful for emergency services administrators, call handlers, and dispatchers.
-
GeoLife : Returns household demographics and lifestyle characteristics with the input of an address or location coordinate. Useful for data analysts and commercial and corporate developers building mobile apps and services.
-
GeoProperty:: Property Details. Capture property details for analysis and planning. The GeoProperty API returns extensive property attributes with the input of address. Critical for any property investment, insurance or risk analysis and mitigation.
-
GeoTax: Returns local tax rates with the input of a location coordinate or an address. Critical for any billing, commerce, payment, or payroll application or service.
-
GeoComm: Identifies Local Exchange Carrier presence with a Rate Center area. The GeoComm API retrieves Incumbent Local Exchange Carrier (ILEC) doing-business-as names with the input of an address. Useful for local telecommunications competitive intelligence, partnerships, and provisioning subscribers.
-
GeoTime: Local time. The GeoTime API returns timezones and UTC offsets with the input of a location coordinate or address. Useful for do-not-call, logistics, and customer engagement applications, business processes and workflows.
-
GeoLocation: Device Location. The GeoLocation API returns location coordinates based on the input of an IP Address, WiFi Access point MAC address, Fixed line phone number and/or Wireless phone number. Useful for a variety of applications, business processes and workflows in eCommerce, Fraud Detection, Physical-Digital interactions, Field Service and more.
-
GeoPost: Accurate Postal Routing. The GeoPost API accepts an address or multiple addresses as inputs and returns US postal routing information including residential, commercial or PO Box delivery destinations. Critical for any direct mail marketing campaign.
-
GeoIdentity: Powerful, local socio-economic & affinity insights about your customer. Enrich shipping addresses with rich, localized Identity profiles, demographics, lifestyle segmentations, neighborhood names, property ownership & values, and social affinity insights. The GeoIdentity API returns all these data with the input of a Physical Address, Email Address, or Twitter handle. Useful for enhancing & enriching a wide variety of applications, business processes, or workflows.
-
GeoStreets: Enrich your applications, business processes, and workflows with global street information including nearest intersections and more. GeoStreets accepts an address or location and returns nearest intersection information. Useful for enriching your data and/or analytics processes with footfall potential.
The following platforms are supported by Location Intelligence SDKs:
Click here for detailed Documentation on Location Intelligence APIs
Location Intelligence NodeJS SDK facilitates you to build NodeJS applications using Location Intelligence APIs.
To get started with NodeJS SDK, you must first register at Location Intelligence API Home Page and obtain your API Key and Secret to get started with the NodeJS SDK and call Location Intelligence APIs. For more information refer to ‘Getting Started with NodeJS SDK’ section in documentation.
To build the project locally by downloading from GitHub
npm install
npm run build
Building the API client library requires latest NodeJS to be installed.
To install the API client library to your local project, simply execute:
npm install pb-locateapi-client
To deploy it globally, simply execute:
npm install -g pb-locateapi-client
Please follow the installation instruction and execute the following NodeJS code:
//We are getting refrence to the installed pb-locateapi-client package
const LIAPINodeJS = require('pb-locateapi-client');
try {
// Configure OAuth2 API_KEY and SECRET for authorization
const oAuth = new LIAPINodeJS.OAuth();
oAuth.oAuthApiKey="API_KEY";
oAuth.oAuthSecret="SECRET";
oAuth.getOAuthCredentials().then((data) => {
var LIAPIGeo911ServiceApi = new LIAPINodeJS.LIAPIGeo911ServiceApi(data.body);
LIAPIGeo911ServiceApi.getAHJPlusPSAPByAddress("950 Josephine Street Denver CO 80204").then((response) => {
console.log("Result " + JSON.stringify(response.body));
}).catch((response) => {
console.log("Error " + JSON.stringify(response.body));
});
}).catch((error) => {
console.log("Error" + JSON.stringify(error))
});
}
catch (error1) {
console.log("Exception raised"+ error1);
}