Socket
Socket
Sign inDemoInstall

node-geocode

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-geocode

node wrapper around yahoo's placefinder api


Maintainers
0
Created
Source

Node Geocode

Geocoding wrapper around Yahoo's PlaceFinder API

Example:

var Client = require('node-geocode').Client;

var api = new(Client)('MyYahooAppId');

api.search('1410, rue Stanley, montreal QC', function (err, result) {
    if (err) throw err;
    console.log(result);
});

// should provide:
[ { quality: 87
  , latitude: '45.499437'
  , longitude: '-73.573876'
  , offsetlat: '45.499334'
  , offsetlon: '-73.573977'
  , radius: 500
  , name: ''
  , line1: '1410 Rue Stanley'
  , line2: 'Montreal, QC  H3A'
  , line3: ''
  , line4: 'Canada'
  , house: '1410'
  , street: 'Rue Stanley'
  , xstreet: ''
  , unittype: ''
  , unit: ''
  , postal: 'H3A'
  , neighborhood: ''
  , city: 'Montreal'
  , county: 'Montreal'
  , state: 'Quebec'
  , country: 'Canada'
  , countrycode: 'CA'
  , statecode: 'QC'
  , countycode: ''
  , uzip: 'H3A'
  , hash: 'D505DF529F412415'
  , woeid: 12697163
  , woetype: 11
  }
]

License:

Apache v2. See LICENSE.

Copyleft: Braithwaite Patrick Sean

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc