Home Games Get Live Cricket Updates From Commandline

Get Live Cricket Updates From Commandline

By sk
Published: Last Updated on 305 views

Howdy Cricket enthusiasts! I've got a good news for you. Now, you can get live Cricket updates from commandline. Want to know the score of your favorite team? Want to know the rankings of the ICC Players? You can all details without leaving your Terminal. A fellow Cricket enthusiast and developer has created a simple Python script named "cricket-cli" that displays the live Cricket updates from the Terminal.

Using cricket-cli, we can get the following cricket updates:

  • Live cricket scores
  • ICC player rankings
  • ICC team standings

It is free and ope source utility. The code is freely available in GitHub, so you can fork it, improve it, add additional features, or fix bugs if there are any.

Install Cricket-cli in Linux

Cricket-cli can be installed using pip, a package manager to install applications written in Python.

If you haven’t installed pip already, install it as described below depending upon the distribution you use.

On Arch Linux and its derivatives like AntergosManjaro Linux, install pip using the following command:

sudo pacman -S python-pip

On RHELCentOS:

sudo yum install epel-release
sudo yum install python-pip

On Fedora:

sudo dnf install epel-release
sudo dnf install python-pip

On DebianUbuntuLinux Mint:

sudo apt-get install python-pip

On SUSEopenSUSE:

sudo zypper install python-pip

Once PIP installed, run the following command to install ‘cricket-cli’ utility.

sudo pip install cricket-cli

Get Live Cricket Updates From Commandline

Run the following command to display live cricket scores.

cricket scores

As you see in the above screenshot, cricket-cli displays the list of available matches, and their status and the summary of each match in a nice tabular-column format. In this output, you can view the details such as which team is currently playing, the total score of each team, how many wickets have gone, and the maximum runs of the individual players in the leading team etc.

Let us see the ICC player rankings. To do so, run:

cricket rankings

The above command shows the top-ten player's rank, name, country and rating details grouped by role.

To view the ICC team standings, run:

cricket standings

This command shows the top-ten ICC team (men and women) standings based on their championship.


Also Read:


For getting help, run:

$ cricket -h
usage: cricket [-h] {scores,rankings,standings} ...

positional arguments:
 {scores,rankings,standings}
 scores Live cricket scores
 rankings ICC player rankings
 standings ICC team standings

optional arguments:
 -h, --help show this help message and exi

Resource:

You May Also Like

1 comment

hemaanvisiripuri July 30, 2018 - 11:05 am

Dear, I tried many plugins and tools for live scores. I think this is what I was looking for. Thanks for sharing

Reply

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More