npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

location_intelligence_ap_is

v3.0.0

Published

Incorporate_our_extensive_geodata_into_everyday_applications_business_processes_and_workflows_

Downloads

6

Readme

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