{ "info": { "author": "Renjith S Raj", "author_email": "renjithsraj@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet" ], "description": "# criclive\nPython wrapper for Live cricket score from www.cricbuzz.com\n\n# Methods\nIts very simple :eyes: There are three methods are in this package.\n\n1. Get the details match/score details in json format\n * get_live_score()\n \n2. Get the match description/type.\n \n * match_data()\n \n3. Get the specific match details\n * get_match()\n\n## :checkered_flag: .... !\n\n![methods1](https://cloud.githubusercontent.com/assets/8171465/20470648/78e317e2-afd0-11e6-857c-33f33f081af5.png)\n\n\n# How methods are working :eyeglasses: ?\n \n``` python\nIn [1]: from criclive.livecricket import Cricz\nIn [2]: cricket = Cricz()\nIn [3]: cricket_live = cricket.\ncricket.get_live_score cricket.get_match cricket.match_data\n\n###### Cricket detaild Live Data\nIn [4]: cricket_live = cricket.get_live_score()\nIn [5]: cricket_live\nIn [5]: output in json format\nOut[6]:\n{'data': [{u'match_1': [{'batteam_score': {'bt_score': [{'decl': u'0',\n 'desc': u'2nd Inns',\n 'followon': u'0',\n 'overs': u'59.5',\n 'run': u'87',\n 'wkts': u'2'},\n --------\n }}]}}\n\n###### Match Details\nIn [7]: match = cricket.match_data()\nOut[7]: \n{'result': [{'desc': u'IND vs ENG',\n 'match_id': u'match_1',\n 'match_no': u'2nd Test',\n 'type': u'TEST'},\n {'desc': u'ZIM vs SL',\n 'match_id': u'match_4',\n 'match_no': u'4th Match',\n 'type': u'ODI'},\n {'desc': u'KEN vs HK',\n 'match_id': u'match_11',\n 'match_no': u'30th Match',\n 'type': u'ODI'}]}\n\n####### Get Match detail with 'match_id'\n'''' pass arguments match_id to the get_match(match_id) method ''''\nIn [8]: match = cricket.get_match('match_1')\nIn [9]: match\nOut[9]: \n{'result': [{u'match_1': [{'batteam_score': {'bt_score': [{'decl': u'0',\n 'desc': u'2nd Inns',\n 'followon': u'0',\n 'overs': u'63',\n 'run': u'92',\n 'wkts': u'2'},\n {'decl': u'0',\n 'desc': u'1st Inns',\n 'followon': u'0',\n 'overs': u'102.5',\n 'run': u'255',\n 'wkts': u'10'}]},\n 'bowteam_score': {'bw_score': [{'decl': u'0',\n 'desc': u'2nd Inns',\n 'followon': u'0',\n 'overs': u'63.1',\n 'run': u'204',\n 'wkts': u'10'},\n {'decl': u'0',\n 'desc': u'1st Inns',\n 'followon': u'0',\n 'overs': u'129.4',\n 'run': u'455',\n 'wkts': u'10'}]},\n 'bt_name': u'ENG',\n 'bwl_team': u'IND',\n 'match_data': {'country': u'India',\n 'desc': u'IND vs ENG',\n 'ground': u'Dr. Y.S. Rajasekhara Reddy ACA-VDCA Cricket Stadium',\n 'inngscount': u'4',\n 'match_id': u'1',\n 'match_no': u'2nd Test',\n 'type': u'TEST',\n 'venue': u'Visakhapatnam'},\n 'match_state': {'WhoToss': u'Ind',\n 'other': u'',\n 'session': u'Day 5: First Session',\n 'state': u'inprogress',\n 'status': u'Eng need 313 runs'}}]}]}", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/renjithsraj/criclive/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/renjithsraj/criclive", "keywords": "cricbuzz,cricket,sports,livescore", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cricketlive", "package_url": "https://pypi.org/project/cricketlive/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cricketlive/", "project_urls": { "Download": "https://github.com/renjithsraj/criclive/tarball/0.1", "Homepage": "https://github.com/renjithsraj/criclive" }, "release_url": "https://pypi.org/project/cricketlive/1.1/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper for Cricket live score from www.cricbuzz.com", "version": "1.1" }, "last_serial": 2472794, "releases": { "1.0": [], "1.1": [] }, "urls": [] }