Pycricbuzz
A Pythonic interface to cricbuzz, with options to get live scores, live commentary and scorecards.
Install / Use
/learn @codophobia/PycricbuzzREADME
<b>Cricbuzz for Python</b>
A Pythonic interface to cricbuzz, with options to get live scores, live commentary and scorecards.
<b>For detailed explaination with output, visit <a href = "https://shivammitra.com/python/cricket-library-for-python/">pycricbuzz blog</a></b>
<b>Instalation</b>
<code> pip install pycricbuzz </code><b>Features</b>
- Get information upcoming, live and recently concluded matches
- series name
- match status
- venue
- toss
- match official
- squads
- Get mini scorecards for live matches
- Batsman currently batting along with their scores,runs,fours,sixes etc.
- Bowlers currently bowling along with their wickets,overs,maidens etc.
- Summary of all the innings
- Last three overs events
- Current patnership and run rate
- Commentary for live matches
- Scorecard for live and past matches
<b>Basic Usage</b>
Import the pycricbuzz library.
from pycricbuzz import Cricbuzz
c = Cricbuzz()
<b>Get all the matches(live,upcoming and recently finished matches)</b>
print(c.matches())
Each match will have an attribute 'id'. Use this 'id' to get matchinfo, scorecard, brief score and commentary of matches.
<b>Get information about a match</b>
print(c.matchinfo(match['id']))
<b>Get brief score of a match</b>
print(c.livescore(match['id']))
<b>Get scorecard of a match</b>
print(c.scorecard(match['id']))
<b>Get commentary of a match</b>
print(c.commentary(match['id']))
Related Skills
gh-issues
347.0kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
347.0kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
taskflow-inbox-triage
347.0kname: taskflow-inbox-triage description: Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some w
