All Projects → strizhechenko → uber-cli

strizhechenko / uber-cli

Licence: other
Beeps when surge is gone

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to uber-cli

django-prices-openexchangerates
openexchangerates.org support for django-prices
Stars: ✭ 33 (+13.79%)
Mutual labels:  price
uber-sdk
A Ruby SDK for the Uber API
Stars: ✭ 32 (+10.34%)
Mutual labels:  uber
envsensor-observer-py
Python Bluetooth low energy observer example for OMRON Environment Sensor (2JCIE-BL01)
Stars: ✭ 31 (+6.9%)
Mutual labels:  influxdb
i3blocks-crypto
💵 View your favorite coins' ticker prices with i3blocks.
Stars: ✭ 30 (+3.45%)
Mutual labels:  price
CryptoCurrency
Page to keep track of value & profits of a portfolio of cryptocurrency (based on Coinmarketcap, Bitfinex and Binance)
Stars: ✭ 27 (-6.9%)
Mutual labels:  price
air-quality
Live dashboard for air quality in my home.
Stars: ✭ 70 (+141.38%)
Mutual labels:  influxdb
trickster
Open Source HTTP Reverse Proxy Cache and Time Series Dashboard Accelerator
Stars: ✭ 1,753 (+5944.83%)
Mutual labels:  influxdb
grafana-dashboards
List of Grafana Dashboards 📺
Stars: ✭ 120 (+313.79%)
Mutual labels:  influxdb
rpi-monitoring-node
Automated installation of Grafana, Telegraf and influxdb for your Raspberry Pi
Stars: ✭ 18 (-37.93%)
Mutual labels:  influxdb
continuous-analytics-examples
A collection of examples of continuous analytics.
Stars: ✭ 17 (-41.38%)
Mutual labels:  influxdb
go-schemaless
An open-source sharded database framework based on Uber's Schemaless
Stars: ✭ 79 (+172.41%)
Mutual labels:  uber
formula1-telemetry-kafka
No description or website provided.
Stars: ✭ 99 (+241.38%)
Mutual labels:  influxdb
geostat
GeoStat, Python script for parsing Nginx and Apache logs files and getting GEO data from incoming IP's.
Stars: ✭ 50 (+72.41%)
Mutual labels:  influxdb
crypto-convert
Instantly convert cryptocurrency and get price information
Stars: ✭ 26 (-10.34%)
Mutual labels:  price
docker-telegraf-influxdb-grafana
Docker Image with Telegraf, InfluxDB and Grafana
Stars: ✭ 17 (-41.38%)
Mutual labels:  influxdb
solar-logger
A datalogger for a solar inverter. Stores data in influxdb and displays it in grafana. Has load diverting capability, to use the inverter's excess power
Stars: ✭ 53 (+82.76%)
Mutual labels:  influxdb
ml-ops
Get your MLOps (Level 1) platform started and going fast.
Stars: ✭ 81 (+179.31%)
Mutual labels:  influxdb
telemetry collector
build telemetry software stack for Cisco nx-os, support both telemetry dial-out and gNMI dial-in
Stars: ✭ 39 (+34.48%)
Mutual labels:  influxdb
monitoring-rancher
🤠How to Set up Rancher Server Monitoring with TIG Stack?
Stars: ✭ 22 (-24.14%)
Mutual labels:  influxdb
influxdb-c
💙 C write client for InfluxDB.
Stars: ✭ 28 (-3.45%)
Mutual labels:  influxdb

Всё плохо, API сломали когда объединили Uber и Яндекс

Code Health

Как выглядит

Утилита

$ uber-cli --help
Usage: uber-cli [options]

Options:
  -h, --help            show this help message and exit
  -i SECONDS            delay between queries
  -w, --watch           run query loop
  -o, --one-line        writer format
  -d, --dict            writer format
  --influxdb-format     writer format
  --influxdb-url=URL    Example: http://127.0.0.1:8086/write?db=my_db
  -f FAIR_PRICE, --fair-price=FAIR_PRICE
                        defines fair price that ok to order taxi
$ uber-cli -w "New bar" "Jawsspot"
Time                       : Product      : Min   : Max
2017-05-09 16:10:49.298236 : uberSTART    :  66.0 :  82.0
2017-05-09 16:11:21.143715 : uberSTART    :  66.0 :  82.0
2017-05-09 16:11:52.638423 : uberSTART    :  66.0 :  82.0

Графики

Скриншот

Установка

pip install uber-cli

Конфигурация

В $HOME/.uberrc можно определить несколько переменных

DEFAULT_CITY: "Екатеринбург"
DEFAULT_TYPE: "uberSTART"
SERVER_TOKEN: "PUT-YOUR-SERVER-TOKEN-HERE"
PHRASE: "Yo-ho-ho, uber is cheap"
  • DEFAULT_CITY - чтобы лучше определялась геопозиция лучше указать город в котором закзаываем. Он будет автоматом добавляться при запросе геопозиции.
  • DEFAULT_TYPE - тариф убера, который используется там, где показывается только один тариф.
  • SERVER_TOKEN - токен, полученный при регистрации приложения в Uber.
  • PHRASE - сообщение которое произносится/выводится в случае, если цена на такси подходит вам.

Регистрация на Uber API

На сайте Uber: https://developer.uber.com/products/ride-requests

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].