py-kabadi library for Python using Roanuz kabadi API's. Easy to install and simple way to access all Roanuz Kabadi API's. Its a Python library for getting Live Kabadi Score, Schedule and Statistics.
-
Install py-kabadi using
pip install git+https://github.com/niranjfantain/py-kabadi.git
-
Create a App here My APP Login
-
Import pykabadi and create Authentication using 'RcaFileStorageHandler' or 'RcaStorageHandler' approach.For accessing each API we need to get the 'AccessToken'
//Use your kabadi API Application details below. //RcaStorageHandler import pykabadi handler = pykabadi.RcaStorageHandler() start = pykabadi.RcaApp(access_key="Your_AccessKey", \ secret_key="Your_SecretKey", \ app_id="Your_APP_ID", \ store_handler=handler \ ) 'OR' //RcaFileStorageHandler(from environmental variable) Environmental variable: RCA_ACCESS_KEY = access_key RCA_SECRET_KEY = secret_key RCA_APP_ID = app_id handler = pykabadi.RcaFileStorageHandler() start = pykabadi.RcaApp(store_handler=handler) // After Completing Authentication you can successfully access the API's. start.get_match("pkl_2017_g103") //Return Match information in json format start.get_season('pkl_2017') //Return Season information in json format For more free API's visit : https://www.cricketapi.com/docs/freeapi/
- Match API start.get_match("match_key")
- Season API start.get_season("season_key")
- Season Team API start.get_season_team("season_key", "season_team_key")
This Library uses the Roanuz Cricket API for fetching cricket scores and stats. Learn more about Litzscore Cricket API on https://www.cricketapi.com/
Feel free to call us anytime, We have an amazing team to support you.
You can contact us at : [email protected]