location_intelligence_ap_is

3.0.0 • Public • Published

location_intelligence_ap_is

LocationIntelligenceApIs - JavaScript client for location_intelligence_ap_is Incorporate our extensive geodata into everyday applications, business processes and workflows. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 3.0.0
  • Package version: 3.0.0
  • Build date: 2017-03-15T17:38:10.422+05:30
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install location_intelligence_ap_is --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var LocationIntelligenceApIs = require('location_intelligence_ap_is');

var defaultClient = LocationIntelligenceApIs.ApiClient.default;

// Configure OAuth2 access token for authorization: oAuth2Password
var oAuth2Password = defaultClient.authentications['oAuth2Password'];
oAuth2Password.accessToken = "YOUR ACCESS TOKEN"

var api = new LocationIntelligenceApIs.LIAPIGeoCommServiceApi()

var address = "address_example"; // {String} The address to be searched.

var opts = { 
  'country': "USA", // {String} 3 letter ISO code of the country to be searched.Allowed values USA,CAN
  'areaCodeInfo': "False", // {String} Specifies whether area code information will be part of response.Allowed values True,False
  'level': "basic" // {String} Level (basic/detail).Allowed values detail,basic.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getRateCenterByAddress(address, opts, callback);

Documentation for API Endpoints

All URIs are relative to http://api.pitneybowes.com/location-intelligence

Class Method HTTP request Description
LocationIntelligenceApIs.LIAPIGeoCommServiceApi getRateCenterByAddress GET /geocomm/v1/ratecenter/byaddress Rate Center By Address.
LocationIntelligenceApIs.LIAPIGeoCommServiceApi getRateCenterByLocation GET /geocomm/v1/ratecenter/bylocation Rate Center By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApi getAddress GET /geoenhance/v1/address/bylocation Address By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApi getEntityByLocation GET /geoenhance/v1/poi/bylocation Points Of Interest By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApi getPlaceByLocation GET /geoenhance/v1/place/bylocation Place By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApi getTimezoneByLocation GET /geoenhance/v1/timezone/bylocation Timezone By Location.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApi getDemographicsByAddress GET /geolife/v1/demographics/byaddress Demographics By Address.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApi getDemographicsByLocation GET /geolife/v1/demographics/bylocation Demographics By Location.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApi getSegmentationByAddress GET /geolife/v1/segmentation/byaddress Segmentation By Address.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApi getSegmentationByLocation GET /geolife/v1/segmentation/bylocation Segmentation By Location.
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getCrimeRiskByAddress GET /georisk/v1/crime/byaddress Gets CrimeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getCrimeRiskByLocation GET /georisk/v1/crime/bylocation Gets CrimeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getEarthquakeRiskByAddress GET /georisk/v1/earthquake/byaddress Gets EarthquakeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getEarthquakeRiskByLocation GET /georisk/v1/earthquake/bylocation Gets EarthquakeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFireRiskByAddress GET /georisk/v1/fire/byaddress Gets FireRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFireRiskByLocation GET /georisk/v1/fire/bylocation Gets FireRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFireStationByAddress GET /georisk/v1/firestation/byaddress Gets FireStationResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFireStationByLocation GET /georisk/v1/firestation/bylocation Gets FireStationResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFloodRiskByAddress GET /georisk/v1/flood/byaddress Gets FloodRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApi getFloodRiskByLocation GET /georisk/v1/flood/bylocation Gets FloodRiskResponse
LocationIntelligenceApIs.LIAPIGeoSearchServiceApi geoSearch GET /geosearch/v1/locations Gets LocationList
LocationIntelligenceApIs.LIAPIGeoServiceApi getAHJPlusPSAPByAddress GET /geo911/v1/ahj-psap/byaddress AHJ & PSAP By Address.
LocationIntelligenceApIs.LIAPIGeoServiceApi getAHJPlusPSAPByLocation GET /geo911/v1/ahj-psap/bylocation AHJ & PSAP By Location
LocationIntelligenceApIs.LIAPIGeoServiceApi getPSAPByAddress GET /geo911/v1/psap/byaddress PSAP By Address.
LocationIntelligenceApIs.LIAPIGeoServiceApi getPSAPByLocation GET /geo911/v1/psap/bylocation PSAP By Location.
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getBatchTaxByAddress POST /geotax/v1/tax/{taxRateTypeId}/byaddress Post Tax By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getBatchTaxByLocation POST /geotax/v1/tax/{taxRateTypeId}/bylocation Post Tax By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getBatchTaxRateByAddress POST /geotax/v1/taxrate/{taxRateTypeId}/byaddress Post Taxrate By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getBatchTaxRateByLocation POST /geotax/v1/taxrate/{taxRateTypeId}/bylocation Post Taxrate By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getSpecificTaxByAddress GET /geotax/v1/tax/{taxRateTypeId}/byaddress Get Tax By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getSpecificTaxByLocation GET /geotax/v1/tax/{taxRateTypeId}/bylocation Get Tax By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getSpecificTaxRateByAddress GET /geotax/v1/taxrate/{taxRateTypeId}/byaddress Get Taxrate By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApi getSpecificTaxRateByLocation GET /geotax/v1/taxrate/{taxRateTypeId}/bylocation Get Taxrate By Location
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getRouteByAddress GET /georoute/v1/route/byaddress Gets Route by Address
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getRouteByLocation GET /georoute/v1/route/bylocation Gets Route by Location
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getTravelBoundaryByDistance GET /geozone/v1/travelboundary/bydistance Gets travel Boundary by Distance
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getTravelBoundaryByTime GET /geozone/v1/travelboundary/bytime Gets travel Boundary by Time
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getTravelCostMatrixByAddress GET /georoute/v1/travelcostmatrix/byaddress Gets Cost Matrix by Address
LocationIntelligenceApIs.LIAPIGeoZoneServiceApi getTravelCostMatrixByLocation GET /georoute/v1/travelcostmatrix/bylocation Gets Cost Matrix by Location
LocationIntelligenceApIs.LIAPIGeocodeServiceApi geocode GET /geocode-service/v1/transient/{datapackBundle}/geocode Gets Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApi geocodeBatch POST /geocode-service/v1/transient/{datapackBundle}/geocode Gets Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApi getCapabilities GET /geocode-service/v1/transient/{datapackBundle}/capabilities Gets Capabilities
LocationIntelligenceApIs.LIAPIGeocodeServiceApi getDictionaries GET /geocode-service/v1/transient/{datapackBundle}/dictionaries Gets installed Dictionaries
LocationIntelligenceApIs.LIAPIGeocodeServiceApi reverseGeocodBatch POST /geocode-service/v1/transient/{datapackBundle}/reverseGeocode reverse Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApi reverseGeocode GET /geocode-service/v1/transient/{datapackBundle}/reverseGeocode reverse Geocode

Documentation for Models

Documentation for Authorization

oAuth2Password

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes: N/A

Readme

Keywords

none

Package Sidebar

Install

npm i location_intelligence_ap_is

Weekly Downloads

0

Version

3.0.0

License

Apache-2.0

Last publish

Collaborators

  • ro002ti