rozzac90 / matchbook

Python wrapper for Matchbook API
MIT License
15 stars 11 forks source link

Get settled bets returns and empty list. #13

Open Cally99 opened 5 years ago

Cally99 commented 5 years ago

I have tried to get settled bets function working on the reporting endpoint but there seems to be a bug. It produces and empty list.


from matchbook.apiclient import APIClient

def get_settled_bets():

   api = APIClient('username123', 'password123')
   r = api.reporting.get_settled_bets(offset=0, per_page=500)
   print(r)

get_settled_bets()