Skip to content

winos/node-distance-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Distance Google API

Build Status

installation

npm install node-distance-google --save

Usage

var googleApiDistance = require('google-distance')

var client  = googleApiDistance.createClient()

var params = {
  origins:'37.430622, -122.138174',
  destinations:'37.432599, -122.136221',
  mode: 'walk'
}

client.getDistance(params)
  .then((data) => {
    // do stuff
  }).catch(err => console.log(err))

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •