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.
- Node.js 18X LTS or 20x LTS 📦
- 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>
- Free Cricket API - https://github.com/sanwebinfo/cricket-api-nodejs
- 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/
MIT