-
Notifications
You must be signed in to change notification settings - Fork 0
Need to add functionality for pulling the results of matches #44
Comments
The Odd API does not support historical data, and getting game scores can only go as far as 3 days before. We will be calculating the probability by using the formula 100/(Odds+100) for positive odds and -Odds/(-Odds+100) for negative odds. Assign the probability to each team and then randomly select the winning team according to the calculated probability Edit: Do not use this method, just fetch the api anyway |
While we can't pull historical odds we should still be able to pull the scores for all the matches and get the actual result instead of using the probabilities to make a random selection. |
Yes, but it is only allowed up to 3 days before the current day. If the user logs into their account 4 days after the games being concluded, some results cannot be fetched |
You can test it using the following link provided on TheOddAPI page: |
Ah I see. So should we make a disclaimer about that issue to users and still pull scores anyway or would it cause too many problems? |
Sure I think that would work also |
Done |
We can use TheOdds api to get the results of the matches after they conclude.
The text was updated successfully, but these errors were encountered: