python SDK of betsapi.com.
betsapi.com is a excellent api for bet app.
pip install betsapi
only support python2.7 temporarily.
frombetsapiimport*token='YOUR-TOKEN'bet365api=Bet365(token)
# set sport_id = '1' to filter soccer sportinplay_soccer=bet365api.inplay_filter('1')
# (optional) set language_id = 1,default English as language = '1'bet365api.set_lng('1')
# set sport_id = '1' to view upcoming_events of soccerbet365api.upcoming_events('1')See Docs for more details.