All Projects → kharazi → snapp-cli

kharazi / snapp-cli

Licence: GPL-3.0 license
a command-line interface to get a ride with Snapp (Snapp API)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to snapp-cli

Wikipron
Massively multilingual pronunciation mining
Stars: ✭ 99 (+41.43%)
Mutual labels:  python-api
pymycobot
This is a python API for mycobot serial communication.
Stars: ✭ 55 (-21.43%)
Mutual labels:  python-api
pyotr
Python OpenAPI-to-REST (and back) framework
Stars: ✭ 54 (-22.86%)
Mutual labels:  python-api
Kinopoiskpy
Python API to kinopoisk.ru
Stars: ✭ 126 (+80%)
Mutual labels:  python-api
phonolammps
LAMMPS interface for phonon calculations using phonopy
Stars: ✭ 53 (-24.29%)
Mutual labels:  python-api
PyMiniSolvers
A Python API for the MiniSat and MiniCard constraint solvers.
Stars: ✭ 18 (-74.29%)
Mutual labels:  python-api
Newsapi
A python wrapper for News API.
Stars: ✭ 71 (+1.43%)
Mutual labels:  python-api
cpython
Alternative StdLib for Nim for Python targets, hijacks Python StdLib for Nim
Stars: ✭ 75 (+7.14%)
Mutual labels:  python-api
PySMS
Simple Python API that that allows you to send texts via SMTP with a best effort approach and process replies via IMAP
Stars: ✭ 19 (-72.86%)
Mutual labels:  python-api
api-python
Python client library to access Data Commons
Stars: ✭ 52 (-25.71%)
Mutual labels:  python-api
Xtp api python
Stars: ✭ 146 (+108.57%)
Mutual labels:  python-api
kyros
Python wrapper for WhatsApp Web API websocket communication (based on https://github.com/sigalor/whatsapp-web-reveng)
Stars: ✭ 94 (+34.29%)
Mutual labels:  python-api
faxplus-python
Python SDK to use FAX.PLUS API
Stars: ✭ 54 (-22.86%)
Mutual labels:  python-api
Surelog
SystemVerilog 2017 Pre-processor, Parser, Elaborator, UHDM Compiler. Provides IEEE Design/TB C/C++ VPI and Python AST API.
Stars: ✭ 116 (+65.71%)
Mutual labels:  python-api
python-api
A Python client for Infermedica API.
Stars: ✭ 53 (-24.29%)
Mutual labels:  python-api
Pyseeta
python api for SeetaFaceEngine(https://github.com/seetaface/SeetaFaceEngine.git)
Stars: ✭ 93 (+32.86%)
Mutual labels:  python-api
cuba-weather-python
Application programming interface of the Cuba Weather project implemented in Python
Stars: ✭ 17 (-75.71%)
Mutual labels:  python-api
pyinrail
A python wrapper for Indian Railways Enquiry API!
Stars: ✭ 40 (-42.86%)
Mutual labels:  python-api
Corailed
Unrailed! simulator using C++ with some reinforcement learning and Unrailed! AI using Python with OpenCV
Stars: ✭ 15 (-78.57%)
Mutual labels:  python-api
unicorn-binance-suite
The UNICORN Binance Suite is a Python Meta Package of unicorn-fy, unicorn-binance-local-depth-cache, unicorn-binance-rest-api, unicorn-binance-trailing-stop-loss and unicorn-binance-websocket-api.
Stars: ✭ 35 (-50%)
Mutual labels:  python-api

Snapp CLI

asciicast

snapp-cli is a command-line interface for Snapp APIs that emphasizes your PRIVACY:). request a ride with Snapp like a boss!

Installation

$ cd mapscii
$ npm install -g
$ cd ..
$ pip install -r requirements.pip

Usage

Usage: ride.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  login  Login to your Snapp account
  price  Calculate price of a trip
  ride   Compelete this function to take a ride with...

for example to caclulate price of with geo points using this:

$ python ride.py price --source 35.70071439856985 51.39509439468384 --destination 35.70364178950393 51.39932155609131

+-----------+-------+----------+
| Service   | Price | Distance |
+-----------+-------+----------+
| اسنپ اکو  | 40000 | 731      |
| اسنپ رُز  | 40000 | 731      |
| اسنپ باکس | 30000 | 731      |
| اسنپ بایک | 45000 | 731      |
+-----------+-------+----------+

and for try it using command-line map type:

$ python ride.py ride --map
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].