{"_id":"@darkside-developers/cricket-details","_rev":"2-9ddc5a6f8c9b157c8573bc3360dfb4a9","name":"@darkside-developers/cricket-details","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@darkside-developers/cricket-details","version":"1.0.0","description":"cricket unofficial scraper","main":"index.js","scripts":{"start":"node index.js"},"keywords":["cricket","darkside"],"author":{"name":"DarkWinzo"},"license":"MIT","dependencies":{"axios":"^1.4.0","cheerio":"^1.0.0-rc.12"},"homepage":"https://github.com/DarkSide-Developers/cricket-details#readme","repository":{"type":"git","url":"git+https://github.com/DarkSide-Developers/cricket-details.git"},"bugs":{"url":"https://github.com/DarkSide-Developers/cricket-details/issues"},"_id":"@darkside-developers/cricket-details@1.0.0","_nodeVersion":"18.13.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-EuggBQOvhxBS7UMQRBX5zZ3Bre3jb35lwa3kUZ3L+3pF78acLj36K7U8EpvNvzXsDphy1ZtCwmd+ZGAt/R0+yA==","shasum":"a4c81f22743fff695acc5fa2813b3059ceffec72","tarball":"https://registry.npmjs.org/@darkside-developers/cricket-details/-/cricket-details-1.0.0.tgz","fileCount":5,"unpackedSize":251798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvSrEZUBAU3pl7vCnNgIZAwElidFPCa8mpMmt4qbtDAwIhANg9fb0qQD/PQhfcqRv14Gf0u4d4+ttE20g7Rgn8gxVj"}]},"_npmUser":{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"},"directories":{},"maintainers":[{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cricket-details_1.0.0_1697530506814_0.5472867045905119"},"_hasShrinkwrap":false},"1.0.1":{"name":"@darkside-developers/cricket-details","version":"1.0.1","description":"cricket unofficial scraper","main":"index.js","scripts":{"start":"node index.js"},"keywords":["cricket","darkside"],"author":{"name":"DarkWinzo"},"license":"MIT","dependencies":{"axios":"^1.4.0","cheerio":"^1.0.0-rc.12"},"homepage":"https://github.com/DarkSide-Developers/cricket-details#readme","repository":{"type":"git","url":"git+https://github.com/DarkSide-Developers/cricket-details.git"},"bugs":{"url":"https://github.com/DarkSide-Developers/cricket-details/issues"},"_id":"@darkside-developers/cricket-details@1.0.1","_nodeVersion":"18.13.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-BNZCvOLC4OA2i1xny/9xxCLDeeKB7BSMpkfcEAc9CtRD01u3N6v43wWLCUOsAgUSquHuDhu1+4s2tkHlf3KqgA==","shasum":"bf073a8edc8c2229f7c7b8f9c3057c2ada6af32e","tarball":"https://registry.npmjs.org/@darkside-developers/cricket-details/-/cricket-details-1.0.1.tgz","fileCount":5,"unpackedSize":251797,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhuQFbtSVXqPg2izljpAswYe/cPBIiRuG+2DjiMZlJ0AiEA35uJUBPhSDwXMwYBdaIXGdppGnhn4ve8OLQ5zON8tkk="}]},"_npmUser":{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"},"directories":{},"maintainers":[{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cricket-details_1.0.1_1697530974029_0.8897508826764859"},"_hasShrinkwrap":false},"1.0.2":{"name":"@darkside-developers/cricket-details","version":"1.0.2","description":"cricket unofficial scraper","main":"index.js","scripts":{"start":"node index.js"},"keywords":["cricket","darkside"],"author":{"name":"DarkWinzo"},"license":"MIT","dependencies":{"axios":"^1.4.0","cheerio":"^1.0.0-rc.12"},"homepage":"https://github.com/DarkSide-Developers/cricket-details#readme","repository":{"type":"git","url":"git+https://github.com/DarkSide-Developers/cricket-details.git"},"bugs":{"url":"https://github.com/DarkSide-Developers/cricket-details/issues"},"_id":"@darkside-developers/cricket-details@1.0.2","_nodeVersion":"18.13.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-zNAvnmu7t6p+mkRCmFKDO4gEyMFQipxII1Sw1eBgvlujKazdlzQtlhWVuLTS+Z8x0K9TrNsjN2W89KL4k7NekQ==","shasum":"e4bbbc0a478d1ad8e3a3af3a567934bdede27938","tarball":"https://registry.npmjs.org/@darkside-developers/cricket-details/-/cricket-details-1.0.2.tgz","fileCount":5,"unpackedSize":249463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzbm7DNl4ahjINSWvuoXElI7T5yGLDgH3Nf1TmL9dB9gIgG7MeU2urclD0padu++LEbaLrzcsngyeui7SG1jzn9sk="}]},"_npmUser":{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"},"directories":{},"maintainers":[{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cricket-details_1.0.2_1697907971442_0.2746419044326258"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-17T08:15:06.646Z","1.0.0":"2023-10-17T08:15:07.021Z","modified":"2023-10-21T17:06:11.913Z","1.0.1":"2023-10-17T08:22:54.247Z","1.0.2":"2023-10-21T17:06:11.722Z"},"maintainers":[{"name":"darkwinzo","email":"Isurulakshanmax2003@gmail.com"}],"description":"cricket unofficial scraper","homepage":"https://github.com/DarkSide-Developers/cricket-details#readme","keywords":["cricket","darkside"],"repository":{"type":"git","url":"git+https://github.com/DarkSide-Developers/cricket-details.git"},"author":{"name":"DarkWinzo"},"bugs":{"url":"https://github.com/DarkSide-Developers/cricket-details/issues"},"license":"MIT","readme":"# @darkside-developers/cricket-details\n\n\n<p align=\"center\">\n  <a href=\"\" rel=\"noopener\">\n <img width=180px height=180px src=\"https://i.ibb.co/mT0KR26/pngimg-com-cricket-PNG104.png\" alt=\"@darkside-developers/cricket-details\"></a>\n</p>\n\n[![npm](https://img.shields.io/npm/v/@darkside-developers/cricket-details)](https://www.npmjs.com/package/@darkside-developers/cricket-details)\n[![npm](https://img.shields.io/npm/dt/@darkside-developers/cricket-details)](https://www.npmjs.com/package/@darkside-developers/cricket-details)\n\n\nA Node.js library for fetching cricket match details, live scores, match news, featured matches, upcoming matches, and recently concluded matches.\n\n## Installation\n\n```bash\nnpm install @darkside-developers/cricket-details\n```\n\n## Usage & Result\n\n### Live Matches Urls\n```typescript\n// Get Live matches urls\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst matchDetails = cricket.match_url();\nconsole.log(matchDetails);\n```\n```typescript\n[\n  {\n    \"title\": \"Match Title 1\",\n    \"link\": \"https://www.cricbuzz.com/match1\"\n  },\n  {\n    \"title\": \"Match Title 2\",\n    \"link\": \"https://www.cricbuzz.com/match2\"\n  },\n  ...\n]\n\n```\n\n### Live Matches Score\n```typescript\n// Get Live matches score\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst liveScore = cricket.live_score('https://www.example.com/live-match');\nconsole.log(liveScore);\n```\n```typescript\n{\n  \"status\": true,\n  \"creator\": {\n    \"name\": \"DarkWinzo\",\n    \"github\": \"@DarkWinzo\"\n  },\n  \"result\": {\n    \"title\": \"Match Title\",\n    \"status\": \"In Progress\",\n    \"update\": \"Latest update here\",\n    \"current_score\": \"Team A: 100/2 (Overs: 10.5)\",\n    \"batsman\": \"Player 1: 50 (30 balls)\",\n    \"batsman_run\": \"50\",\n    \"balls_faced\": \"30\",\n    \"fours\": \"6\",\n    \"sixes\": \"2\",\n    \"sr\": \"166.67\",\n    \"batsman_two\": \"Player 2: 30 (25 balls)\",\n    \"batsman_two_run\": \"30\",\n    \"batsman_two_balls_faced\": \"25\",\n    \"batsman_two_fours\": \"3\",\n    \"batsman_two_sixes\": \"1\",\n    \"batsman_two_sr\": \"120.00\",\n    \"bowler_stats_1\": \"Bowler 1: 2/40\",\n    \"bowler_over\": \"4.5\",\n    \"bowler_runs\": \"40\",\n    \"bowler_wickets\": \"2\",\n    \"bowler_maiden\": \"0\",\n    \"bowler_stats_2\": \"Bowler 2: 1/20\",\n    \"batsman_stats_1\": \"Batsman 1: 20 (15 balls)\",\n    \"batsman_stats_2\": \"Batsman 2: 10 (8 balls)\",\n    \"highest_run_scorer\": \"Player 3: 60\",\n    \"highest_wicket_taker\": \"Bowler 3: 3/25\",\n    \"partnership\": \"Current Partnership: 80 runs (10.2 ov)\",\n    \"recent_balls\": \"Recent balls: WD 4 1 6 2\",\n    \"last_wicket\": \"Last wicket: Player 4 (Out: LBW, Bowler 4)\",\n    \"currenly_run_rate\": \"Current Run Rate: 7.69\",\n    \"commentary\": \"Latest commentary here\"\n  }\n}\n```\n\n### Recently Match Details\n```typescript\n// Get Recently match details\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst upcomingMatches = cricket.upcoming_match();\nconsole.log(upcomingMatches);\n```\n```typescript\n{\n  \"status\": true,\n  \"creator\": {\n    \"name\": \"DarkWinzo\",\n    \"github\": \"@DarkWinzo\"\n  },\n  \"upcoming\": {\n    \"series\": \"Upcoming Series\",\n    \"match\": [\n      {\n        \"header\": \"Match Header 1\",\n        \"team_a\": \"Team A\",\n        \"team_b\": \"Team B\",\n        \"status\": \"Upcoming\",\n        \"link\": \"https://www.cricbuzz.com/upcoming-match1\"\n      },\n      {\n        \"header\": \"Match Header 2\",\n        \"team_a\": \"Team C\",\n        \"team_b\": \"Team D\",\n        \"status\": \"Upcoming\",\n        \"link\": \"https://www.cricbuzz.com/upcoming-match2\"\n      },\n      ...\n    ]\n  }\n}\n```\n\n### Cricket Match News\n```typescript\n// Get Cricket Matches News\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst news = cricket.match_news();\nconsole.log(news);\n```\n```typescript\n{\n  \"status\": true,\n  \"creator\": {\n    \"name\": \"DarkWinzo\",\n    \"github\": \"@DarkWinzo\"\n  },\n  \"news\": [\n    {\n      \"headline\": \"News 1\",\n      \"image\": \"https://m.cricbuzz.com/a/img/v1/595x396/news1.jpg\",\n      \"link\": \"https://m.cricbuzz.com/news1\"\n    },\n    {\n      \"headline\": \"News 2\",\n      \"image\": \"https://m.cricbuzz.com/a/img/v1/595x396/news2.jpg\",\n      \"link\": \"https://m.cricbuzz.com/news2\"\n    },\n    ...\n  ]\n}\n```\n\n### Feature Match Details\n```typescript\n// Get Cricket Feature Matches Details\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst featuredMatches = cricket.feature_match();\nconsole.log(featuredMatches);\n```\n```typescript\n{\n  \"status\": true,\n  \"creator\": {\n    \"name\": \"DarkWinzo\",\n    \"github\": \"@DarkWinzo\"\n  },\n  \"featured\": [\n    {\n      \"header\": \"Match Header 1\",\n      \"team_a\": \"Team A\",\n      \"team_b\": \"Team B\",\n      \"status\": \"In Progress\",\n      \"link\": \"https://www.cricbuzz.com/feature-match1\"\n    },\n    {\n      \"header\": \"Match Header 2\",\n      \"team_a\": \"Team C\",\n      \"team_b\": \"Team D\",\n      \"status\": \"Upcoming\",\n      \"link\": \"https://www.cricbuzz.com/feature-match2\"\n    },\n    ...\n  ]\n}\n```\n\n### Upcoming Match Details\n```typescript\n// Get Cricket Upcoming Matches Details\nconst { cricket } = require('@darkside-developers/cricket-details');\n\nconst upcomingMatches = cricket.upcoming_match();\nconsole.log(upcomingMatches);\n```\n```typescript\n{\n  \"status\": true,\n  \"creator\": {\n    \"name\": \"DarkWinzo\",\n    \"github\": \"@DarkWinzo\"\n  },\n  \"upcoming\": {\n    \"series\": \"Upcoming Series\",\n    \"match\": [\n      {\n        \"header\": \"Match Header 1\",\n        \"team_a\": \"Team A\",\n        \"team_b\": \"Team B\",\n        \"status\": \"Upcoming\",\n        \"link\": \"https://www.cricbuzz.com/upcoming-match1\"\n      },\n      {\n        \"header\": \"Match Header 2\",\n        \"team_a\": \"Team C\",\n        \"team_b\": \"Team D\",\n        \"status\": \"Upcoming\",\n        \"link\": \"https://www.cricbuzz.com/upcoming-match2\"\n      },\n      ...\n    ]\n  }\n}\n```\n## Author\n\n- **Dark_Winzo**\n  - GitHub: [DarkWinzo](https://github.com/DarkWinzo)\n  - Email: darkwinzo2240@gmail.com (optional)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nFeel free to open an issue or create a pull request for any improvements or bug fixes.\n\n## Versioning\n\nWe use Semantic Versioning for versioning. For the versions available, see the tags on this repository.\n\n## Contact\n\nFor any questions or feedback, feel free to reach out to the project creator:\n\n- Name: DarkWinzo\n- GitHub: [@DarkWinzo](https://github.com/DarkWinzo)\n\n","readmeFilename":"README.md"}