FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

winos/node-distance-google · GitHub

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Distance Google API

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL