jaebradley/uber-cli

šŸš—Uber, at your fingertips

JavaScript

1,185

282 commits

updated Jun 12, 2020

See the code

README

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.

command-line-tool
uber

jaebradley/uber-cli

šŸš—Uber, at your fingertips

JavaScript

1,185

282 commits

updated Jun 12, 2020

See the code

README

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.

command-line-tool
uber

Project health

Overall

1.5/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Latest release

1.0.2 Ā· Aug 6, 2018

Releases this year

0

Significant stargazers

Rico Sta. Cruz

6,693 followers Ā· starred Feb 2017

Pascal Borreli

426 followers Ā· starred Feb 2017

Ryan Tsao

454 followers Ā· starred Feb 2017

LÔszló Kiss KollÔr

30 followers Ā· starred Feb 2017