Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Latest commit

 

History

History
96 lines (62 loc) · 1.87 KB

README.md

File metadata and controls

96 lines (62 loc) · 1.87 KB

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 and Check the Latest Working Cricket CLI - https://github.com/sanwebinfo/cricket-cli

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