Skip to content

Simple node.js app to fetch location data from the google geoip API using CLI.

Notifications You must be signed in to change notification settings

iliaivanov/google-gecode-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-geoip-location

Simple node.js lib to fetch location data from the google geoip API.
Promise with the location data will be returned or error message on failure.

Install

npm install git@github.com:iliaivanov/google-gecode-location.git#1.0.0

Usage

const googleGeocode = require('google-gecode-location');

const locationData = googleGeocode.geocodeAddress('tallinn').then((location) => {
    console.log(location);
}, (error) => {
    console.log(error);
});

About

Simple node.js app to fetch location data from the google geoip API using CLI.

Resources

Stars

Watchers

Forks

Packages

No packages published