Tank01 MLB Live In-Game Real Time Statistics

免费增值
Verified
通过 tank01 | 已更新 2 days ago | Sports
人气

9.8 / 10

延迟

168ms

服务等级

100%

Health Check

N/A

返回所有讨论

getMLBBettingOdds Not Returning Pregame odds

Rapid account: Wnormand
wnormand
a month ago

Hi - I noticed that the getMLBBettingOdds endpoint is not returning pregame odds. It doesn’t return anything until game start time. This seems to contradict the explanation of how the endpoint works and is causing problems because my script attempts to collect the odds pregame. For example if I call using today’s date as the game date parameter I get a 200 response with no games. Help please?

Rapid account: Tank 01
tank01 Commented a month ago

Also I want to comment on this incorrect statement: “It doesn’t return anything until game start time.”. That isn’t true.

The odds are always updated every morning for “today”. We don’t wait until game start time. That’s never been a process of ours.

We get system alerts, which we’ve created ourselves, when odds are not populated at the start of the day, like we did today, and then we fix the issue.

Odds are always populated well before game time. That has never been an issue for us.

Rapid account: Tank 01
tank01 Commented a month ago

Hi, I apologize for the inconvenience, as the script ran a little later than normal today. The odds populated approx a half hour after this post.

The script to start collecting odds for each day normally starts at 6am Eastern.

The status code will always return 200 if you were able to connect to our server and search the DB.

For error handling, you can simply look for an empty map, or check for an “error” element. When the results for a certain query are empty, then you’ll get an “error” element on the same level as the “body”.

I’ll see what i can do to make sure the odds don’t run late again.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论