Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaebradley/uber-cli
πUber, at your fingertips
https://github.com/jaebradley/uber-cli
command-line-tool security-incidents security-vulnerability uber
Last synced: 8 days ago
JSON representation
πUber, at your fingertips
- Host: GitHub
- URL: https://github.com/jaebradley/uber-cli
- Owner: jaebradley
- Created: 2016-12-21T02:49:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T06:28:10.000Z (over 4 years ago)
- Last Synced: 2024-10-28T15:58:24.207Z (9 days ago)
- Topics: command-line-tool, security-incidents, security-vulnerability, uber
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/uber-cli
- Size: 6.91 MB
- Stars: 1,186
- Watchers: 20
- Forks: 56
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cli-apps - uber-cli - Uber client. (Productivity / HTTP Client)
- fucking-awesome-cli-apps - uber-cli - Uber client. (Productivity / HTTP Client)
README
# Uber CLI
[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/uber-cli.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/jaebradley/uber-cli.svg?branch=master)](https://travis-ci.org/jaebradley/uber-cli)
[![codecov](https://codecov.io/gh/jaebradley/uber-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/uber-cli)
[![npm](https://img.shields.io/npm/v/uber-cli.svg)](https://www.npmjs.com/package/uber-cli)
[![npm](https://img.shields.io/npm/dt/uber-cli.svg)](https://www.npmjs.com/package/uber-cli)## 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
```bash
npm install uber-cli -g
```## Usage
### Get Time-To-Pickup Estimates
```bash
uber time 'pickup address here'
```![alt_text](http://imgur.com/9k16YDl.png)
### Get Price Estimates
```bash
uber price -s 'start address' -e 'end address'
```![alt_text](http://imgur.com/2QLJCSw.png)
## A Note On Address Identification
So the [Uber API identifies time](https://developer.uber.com/docs/riders/references/api/v1.2/estimates-time-get) 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](https://developers.google.com/maps/documentation/geocoding/intro) to identify coordinates based on an input address.