3.0.0 • Published 7 years ago

location_intelligence_ap_is v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 years ago

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

ClassMethodHTTP requestDescription
LocationIntelligenceApIs.LIAPIGeoCommServiceApigetRateCenterByAddressGET /geocomm/v1/ratecenter/byaddressRate Center By Address.
LocationIntelligenceApIs.LIAPIGeoCommServiceApigetRateCenterByLocationGET /geocomm/v1/ratecenter/bylocationRate Center By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApigetAddressGET /geoenhance/v1/address/bylocationAddress By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApigetEntityByLocationGET /geoenhance/v1/poi/bylocationPoints Of Interest By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApigetPlaceByLocationGET /geoenhance/v1/place/bylocationPlace By Location.
LocationIntelligenceApIs.LIAPIGeoEnhanceServiceApigetTimezoneByLocationGET /geoenhance/v1/timezone/bylocationTimezone By Location.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApigetDemographicsByAddressGET /geolife/v1/demographics/byaddressDemographics By Address.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApigetDemographicsByLocationGET /geolife/v1/demographics/bylocationDemographics By Location.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApigetSegmentationByAddressGET /geolife/v1/segmentation/byaddressSegmentation By Address.
LocationIntelligenceApIs.LIAPIGeoLifeServiceApigetSegmentationByLocationGET /geolife/v1/segmentation/bylocationSegmentation By Location.
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetCrimeRiskByAddressGET /georisk/v1/crime/byaddressGets CrimeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetCrimeRiskByLocationGET /georisk/v1/crime/bylocationGets CrimeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetEarthquakeRiskByAddressGET /georisk/v1/earthquake/byaddressGets EarthquakeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetEarthquakeRiskByLocationGET /georisk/v1/earthquake/bylocationGets EarthquakeRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFireRiskByAddressGET /georisk/v1/fire/byaddressGets FireRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFireRiskByLocationGET /georisk/v1/fire/bylocationGets FireRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFireStationByAddressGET /georisk/v1/firestation/byaddressGets FireStationResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFireStationByLocationGET /georisk/v1/firestation/bylocationGets FireStationResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFloodRiskByAddressGET /georisk/v1/flood/byaddressGets FloodRiskResponse
LocationIntelligenceApIs.LIAPIGeoRiskServiceApigetFloodRiskByLocationGET /georisk/v1/flood/bylocationGets FloodRiskResponse
LocationIntelligenceApIs.LIAPIGeoSearchServiceApigeoSearchGET /geosearch/v1/locationsGets LocationList
LocationIntelligenceApIs.LIAPIGeoServiceApigetAHJPlusPSAPByAddressGET /geo911/v1/ahj-psap/byaddressAHJ & PSAP By Address.
LocationIntelligenceApIs.LIAPIGeoServiceApigetAHJPlusPSAPByLocationGET /geo911/v1/ahj-psap/bylocationAHJ & PSAP By Location
LocationIntelligenceApIs.LIAPIGeoServiceApigetPSAPByAddressGET /geo911/v1/psap/byaddressPSAP By Address.
LocationIntelligenceApIs.LIAPIGeoServiceApigetPSAPByLocationGET /geo911/v1/psap/bylocationPSAP By Location.
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetBatchTaxByAddressPOST /geotax/v1/tax/{taxRateTypeId}/byaddressPost Tax By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetBatchTaxByLocationPOST /geotax/v1/tax/{taxRateTypeId}/bylocationPost Tax By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetBatchTaxRateByAddressPOST /geotax/v1/taxrate/{taxRateTypeId}/byaddressPost Taxrate By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetBatchTaxRateByLocationPOST /geotax/v1/taxrate/{taxRateTypeId}/bylocationPost Taxrate By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetSpecificTaxByAddressGET /geotax/v1/tax/{taxRateTypeId}/byaddressGet Tax By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetSpecificTaxByLocationGET /geotax/v1/tax/{taxRateTypeId}/bylocationGet Tax By Location
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetSpecificTaxRateByAddressGET /geotax/v1/taxrate/{taxRateTypeId}/byaddressGet Taxrate By Address
LocationIntelligenceApIs.LIAPIGeoTaxServiceApigetSpecificTaxRateByLocationGET /geotax/v1/taxrate/{taxRateTypeId}/bylocationGet Taxrate By Location
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetRouteByAddressGET /georoute/v1/route/byaddressGets Route by Address
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetRouteByLocationGET /georoute/v1/route/bylocationGets Route by Location
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetTravelBoundaryByDistanceGET /geozone/v1/travelboundary/bydistanceGets travel Boundary by Distance
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetTravelBoundaryByTimeGET /geozone/v1/travelboundary/bytimeGets travel Boundary by Time
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetTravelCostMatrixByAddressGET /georoute/v1/travelcostmatrix/byaddressGets Cost Matrix by Address
LocationIntelligenceApIs.LIAPIGeoZoneServiceApigetTravelCostMatrixByLocationGET /georoute/v1/travelcostmatrix/bylocationGets Cost Matrix by Location
LocationIntelligenceApIs.LIAPIGeocodeServiceApigeocodeGET /geocode-service/v1/transient/{datapackBundle}/geocodeGets Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApigeocodeBatchPOST /geocode-service/v1/transient/{datapackBundle}/geocodeGets Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApigetCapabilitiesGET /geocode-service/v1/transient/{datapackBundle}/capabilitiesGets Capabilities
LocationIntelligenceApIs.LIAPIGeocodeServiceApigetDictionariesGET /geocode-service/v1/transient/{datapackBundle}/dictionariesGets installed Dictionaries
LocationIntelligenceApIs.LIAPIGeocodeServiceApireverseGeocodBatchPOST /geocode-service/v1/transient/{datapackBundle}/reverseGeocodereverse Geocode
LocationIntelligenceApIs.LIAPIGeocodeServiceApireverseGeocodeGET /geocode-service/v1/transient/{datapackBundle}/reverseGeocodereverse Geocode

Documentation for Models

Documentation for Authorization

oAuth2Password

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