It's been a long time since Uber arrived in PeruHowever, this platform has a long history in other countries of the world, making it the most important platform in the private transport sector. Every time I can I use this service, also, thanks to a good number of friends who have joined the platform with my invitation, I constantly have free rides.
The Uber app It is simply great, at any time you can check the affiliate taxis that you have nearby in its interface, in addition, you can verify the price it would cost you to move from one place to another, in addition to this, you pay from the tool with a charge to your credit card . But something that Uber still did not have, was compactness with our beloved console, which is in the past, since it now exists Uber CLI the tool that allows us to use Uber from the console.
Table of Contents
What is the Uber CLI?
This tool currently has two functionalities.
- Calculate the fare that Uber charges from one location to another.
- Verify the time it can take an Uber to reach the location you indicate.
The results of the queries we make to the application will be pleasantly presented at the terminal, calculating the arrival time of the Uber at your location, price, type of vehicle, time of arrival at the destination, among others.
The tool does not need verification of any kind, it uses the Google Api to find the coordinates of the location you indicate and then the Uber Api to determine the rate and the times of arrival of the affiliated vehicles.
How to install Uber CLI
This tool is installed very easily, making use of npm, there will be a terminal and execute:
npm install uber-cli -g
Use and importance of Uber CLI
Once we install the tool, we can make use of it using one of the following commands:
Check Uber's arrival time at a location
uber time 'Ingrese la ubicación'
Check the price and estimated time from one location to another.
uber price -s 'ubicación inicial' -e 'ubicación final'
With this tool, we avoid using our mobile to know basic data such as the rate that the next uber we take will charge us, or it will help us decide what is the ideal time to get off the pc and go out to take the Uber at the door of our house .
I can conclude that Uber CLI It is the ideal tool for anyone who prefers to use the terminal over mobile phones, regardless of your geographical location. Something I like about this tool is that it will always calculate prices based on local currency and calculate time based on distance from one location to another.