rozzac90 / pinnacle

Python Wrapper for Pinnacle Sports API
MIT License
52 stars 26 forks source link

Asking for help in not getting data from market data #13

Closed magiclevinho closed 6 years ago

magiclevinho commented 6 years ago

Dear rozzac90,

Could you help me why am I not getting data for the following: api.market_data.get_line(sport_id=29, league_id=163787, event_id=854626664, period_number=0, bet_type='MONEYLINE', team='DRAW', side=None, handicap=None, odds_format='DECIMAL')

magiclevinho commented 6 years ago

Also I can t get the odds!

magiclevinho commented 6 years ago

Is this wrapper still working?

rozzac90 commented 6 years ago

I have account issues at the moment so can't check whether it's working. I dont see much having changed in the api though. Do you have any errors/output returned?

magiclevinho commented 6 years ago

Only getting status "NOT EXIST", and zero values. For the odds, I get JSON error.

magiclevinho commented 6 years ago

Good news! Now some days later, it is working! I don't know what was the error?!

rozzac90 commented 6 years ago

could it be that the event had finished or the line was no longer available?

magiclevinho commented 6 years ago

No, I double checked the 3 arbitrary chosen matches. They were before kickoff, and available on the pinnacle website. I didn't verify more matches then.

rozzac90 commented 6 years ago

That's quite strange I know they do change the event ids so if there was along period between the query to get the matches and the failing query it may have been relisted under a new I'd. I will close this issue for now as it seems to be fixed