Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

mskian/cricket-cli

Repository files navigation

Cricket CLI 🏏

Score Test

API is not working due to the Cricbuzz Mobile site being Fully Redesigned - The full Site Structure was Changed it's a bit complex to get data - Please Consider using the Python Cricket API Version - https://github.com/sanwebinfo/cricket-api

Get Live Cricket Score Update on Terminal and CMD.

Cricket Score

Requirements

  • Node.js 18X LTS or 20x LTS 📦

Installation

  • Install via GIT or Download the Repo
git clone https://github.com/mskian/cricket-cli.git
cd cricket-cli
npm install
  • Create NPM Link for CLI
sudo npm link
  • unlink CLI
npm rm --global cricket-cli

(OR)

  • Insall via NPM
npm install -g cricket-cli
  • install via npx
npx cricket-cli
npx cricket-cli -l
  • Test it
$ livescore -h

Usage: livescore [options]

Options:
  -V, --version            output the version number
  -l, --live               Get Current Live Cricket Match Score
  -m, --match <Match ID>   Enter Cricbuzz Live Match ID and Fetch the Live Score data from Cricbuzz Live Score Data
  -h, --help               display help for command
  • Get Current Live Match Score
livescore -l
  • Get Other Live Match Details
livescore -m <Live Match ID from Cricbuzz>

API Library 🗃

Disclaimer 🗃

  • This is not an Offical CLI tool from Cricbuzz - it's an Unofficial CLI tool and API
  • This is for Education Purpose only - use at your own risk on Production Site

All Credits Goes to https://www.cricbuzz.com/

LICENSE 📕

MIT