{"id":28448185,"url":"https://github.com/tarun7r/cricket-api","last_synced_at":"2025-06-14T00:03:21.192Z","repository":{"id":40582691,"uuid":"507612924","full_name":"tarun7r/Cricket-API","owner":"tarun7r","description":"An unofficial Cricket API client for pulling Player Stats, Live Score, Fixtures, Tables and Results data of Cricket Matches","archived":false,"fork":false,"pushed_at":"2025-04-06T08:21:45.000Z","size":7108,"stargazers_count":30,"open_issues_count":1,"forks_count":15,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-06T12:50:02.377Z","etag":null,"topics":["cricket","cricket-api","flask-api","flask-application","ipl","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarun7r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-26T15:32:15.000Z","updated_at":"2025-06-05T09:18:41.000Z","dependencies_parsed_at":"2025-03-28T17:29:45.323Z","dependency_job_id":"3a440df0-dbe3-4efa-a967-a579a4ea98c3","html_url":"https://github.com/tarun7r/Cricket-API","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tarun7r/Cricket-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarun7r%2FCricket-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarun7r%2FCricket-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarun7r%2FCricket-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarun7r%2FCricket-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarun7r","download_url":"https://codeload.github.com/tarun7r/Cricket-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarun7r%2FCricket-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259737914,"owners_count":22903869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cricket","cricket-api","flask-api","flask-application","ipl","python"],"created_at":"2025-06-06T12:42:49.506Z","updated_at":"2025-06-14T00:03:21.186Z","avatar_url":"https://github.com/tarun7r.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cH2\u003eCricket Hub - Cricket API 2.0\u003c/H2\u003e\nThis is a simple Flask web application that provides an API and a user-friendly website to retrieve Player Stats, Live Scores, Fixtures, Tables, and Results data of Cricket Matches (ODI, T20, Test, and IPL) from the online websites\n\n\u003ch2\u003eWebsite Features\u003c/h2\u003e\n\u003cp\u003eThe application now includes a website accessible with the following features:\u003c/p\u003e\n\u003cul\u003e\n  \u003cli\u003e🎯 \u003cstrong\u003eLive Scores:\u003c/strong\u003e View live scores of ongoing matches with real-time updates.\u003c/li\u003e\n  \u003cli\u003e📅 \u003cstrong\u003eSchedule:\u003c/strong\u003e Check the schedule of upcoming matches, including dates and teams.\u003c/li\u003e\n  \u003cli\u003e👤 \u003cstrong\u003ePlayer Stats:\u003c/strong\u003e Search for player statistics, including batting and bowling career summaries.\u003c/li\u003e\n  \u003cli\u003e⚖️ \u003cstrong\u003eCompare Players:\u003c/strong\u003e Compare two players' stats side by side for better insights.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eAPI Endpoints\u003c/h2\u003e\n\u003cp\u003eThe application provides the following API endpoints:\u003c/p\u003e\n\n\u003ch3\u003eGET  /players/{player_name}\u003c/h3\u003e\n\u003cp\u003eThis endpoint retrieves information about a cricket player with the given name. The player name should be provided as a URL parameter.\u003c/p\u003e\n\u003cp\u003eThe API returns a JSON object with the following structure:\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003e[\n    {\n        \"Player Name\": \"Player Name\",\n        \"Country\": \"Country\",\n        \"Role\": \"Role\",\n        \"Batting Career Summary 1\": {\n            \"Mode1\": \"Test\",\n            \"Matches\": \"Matches\",\n            \"Runs\": \"Runs\",\n            \"HS\": \"HS\",\n            \"Avg\": \"Avg\",\n            \"SR\": \"SR\",\n            \"100s\": \"100s\",\n            \"50s\": \"50s\"\n        },\n        \"Batting Career Summary2\": {\n            \"Mode2\": \"ODI\",\n            \"Matches\": \"Matches\",\n            \"Runs\": \"Runs\",\n            \"HS\": \"HS\",\n            \"Avg\": \"Avg\",\n            \"SR\": \"SR\",\n            \"100s\": \"100s\",\n            \"50s\": \"50s\"\n        },\n        \"Batting Career Summary3\": {\n            \"Mode2\": \"T20I\",\n            \"Matches\": \"Matches\",\n            \"Runs\": \"Runs\",\n            \"HS\": \"HS\",\n            \"Avg\": \"Avg\",\n            \"SR\": \"SR\",\n            \"100s\": \"100s\",\n            \"50s\": \"50s\"\n        }\n    }\n]\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch3\u003eGET /schedule\u003c/h3\u003e\n\u003cp\u003eThe API returns a JSON array containing the details of upcoming matches, including date, teams, and tournament.\u003c/p\u003e\n\u003cp\u003eThe API returns a JSON object with the following structure:\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003e\n[\n    \"India vs South Africa, 1st ODI\",\n    \"India vs South Africa, 2nd ODI\",\n    // ... additional matches\n]\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch3\u003eGET /live\u003c/h3\u003e\n\u003cp\u003eThe API returns a JSON array containing the details of live matches, including team names, scores, and overs played.\u003c/p\u003e\n\u003cp\u003eThe API returns a JSON object with the following structure:\u003c/p\u003e\n\u003cpre\u003e\u003ccode\u003e\n[\n    \"RCB196-7 (20 Ovs) CSK9-2 (2.3 Ovs) Chennai Super Kings need 188 runs\",\n    // ... additional live matches\n]\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003ch2\u003eLive Score\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eLive Score of all the Matches Going on present\u003c/li\u003e\n  \u003cbr\u003e \u003cimg src=\"scripts/live_matches.jpg\"\u003e \u003cbr\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eSchedule\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eSchedule of the next Upcoming Matches\u003c/li\u003e\n  \u003cbr\u003e \u003cimg src=\"scripts/schedule.jpg\"\u003e \u003cbr\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eIndividual Player Stats\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eExample: Stats of Virat Kohli | You can use the common name of the Players as well to retrieve the details\u003c/li\u003e\n  \u003cbr\u003e \u003cimg src=\"scripts/player_stats.jpg\"\u003e \u003cbr\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003ePlayer Comparison\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eCompare two players' batting and bowling statistics side by side.\u003c/li\u003e\n  \u003cbr\u003e \u003cimg src=\"scripts/player_comparison.jpg\"\u003e \u003cbr\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eUpdate 🚀\u003c/h2\u003e\n\u003cp\u003eThe API and website have been enhanced with new features and improvements:\u003c/p\u003e\n\u003cul\u003e\n  \u003cli\u003e🎯 Added a user-friendly UI website for interacting with live scores, player stats, schedule, and player comparison.\u003c/li\u003e\n  \u003cli\u003e⚡ Optimized the codebase for better performance and reliability.\u003c/li\u003e\n  \u003cli\u003e🔄 Rebased and updated to ensure compatibility with the latest dependencies.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eEnjoy the latest version of the Cricket API and website! 🏏\u003c/p\u003e\n\n\u003cH2\u003eDisclaimer ⚠️\u003c/H2\u003e\nThis project is strictly for educational purposes. Not intended for production use. The frontend HTML was generated using GPT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarun7r%2Fcricket-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarun7r%2Fcricket-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarun7r%2Fcricket-api/lists"}