Giter Club home page Giter Club logo

taxi-proximity-sg's Introduction

taxi-proximity-sg

Run

After cloning the repository and doing npm install, you need to set two environment variables, a google maps API key as well as a data.gov.sg API key.

GOOGLE_MAPS_API_KEY={your-api-key} DATA_GOV_SG_API_KEY={your-api-key} node index.js

Example output

? From where would you like to get a taxi: Orchard Road

Nearest taxis from your address "Orchard Rd, Singapore":
 - There is an available taxi at "1 Grange Rd, Singapore 239693", 71 meters away
 - There is an available taxi at "Emerald Link, Singapore", 82 meters away
 - There is an available taxi at "1 Grange Rd, Singapore 239693", 85 meters away
 - There is an available taxi at "333A Orchard Rd, Singapore 238897", 85 meters away
 - There is an available taxi at "1 Grange Rd, Singapore 239693", 91 meters away

? From where would you like to get a taxi: OCBC Centre

Nearest taxis from your address "65 Chulia Street, #01-00 OCBC Centre, Singapore 049513":
 - There is an available taxi at "26 Boat Quay, Singapore 049816", 75 meters away
 - There is an available taxi at "80 Raffles Place, Singapore 048624", 80 meters away
 - There is an available taxi at "S Canal Rd, Singapore", 88 meters away
 - There is an available taxi at "18 Church St, Singapore 049479", 92 meters away
 - There is an available taxi at "Synagogue St, Singapore", 107 meters away

taxi-proximity-sg's People

Contributors

bjornlll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.