Skip to content
🚗Uber, at your fingertips
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__
src style(eslint): update dependencies, fix linting errors Jun 26, 2018
.babelrc Update development environment (#55) Jun 4, 2018
.eslintignore refactor(test): remove unnecessary tests Jun 12, 2018
.eslintrc Update development environment (#55) Jun 4, 2018
.gitignore Remove Coordinate and Distance classes (#56) Jun 4, 2018
.npmignore refactor(package): fix package generation scripts and version Jun 12, 2018
.travis.yml fix(dependencies): update dependencies Aug 6, 2018
README.md build(dependencies): update uber-estimates-client and README Jun 12, 2018
commitlint.config.js build(commitlint): add commitlint.config.js Jun 12, 2018
package-lock.json fix(dependencies): update dependencies Aug 6, 2018
package.json fix(dependencies): update dependencies Aug 6, 2018

README.md

Uber CLI

Greenkeeper badge Build Status codecov npm npm

Introduction

Clearly, I'm a lazy person (just look at what this tool does - it helps me figure out if I should order a car to pick me up and drive me to where I want to go).

That being said, as a lazy person it pains me everytime open my phone, open the Uber app, type my destination, and see the estimated price, only for my inner, responsible, cost-cutting, fiduciary-self to end up taking the bus all the way home.

I think we can all agree that it would be much more efficient to simply be disappointed before I open my phone at all.

Install via NPM

npm install uber-cli -g

Usage

Get Time-To-Pickup Estimates

uber time 'pickup address here'

alt_text

Get Price Estimates

uber price -s 'start address' -e 'end address'

alt_text

A Note On Address Identification

So the Uber API identifies time and price estimates based on a coordinate and not an address. In order to support those that don't know their exact coordinates at any given time, I'm using the Google Maps Geocoding API to identify coordinates based on an input address.

You can’t perform that action at this time.