Is it possible to get endresults from a game

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thebettrader
    Junior Member
    • Apr 2016
    • 35

    #1

    Is it possible to get endresults from a game

    Hello,

    I wonder if it is possible to get the results of a football,basketball,tennis game etc after the game has ended through the API in any way?

    Thank you!
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Originally posted by thebettrader View Post
    Hello,

    I wonder if it is possible to get the results of a football,basketball,tennis game etc after the game has ended through the API in any way?

    Thank you!
    If you want the result, yes. If you want the final score, no.

    For the result, if you use listMarketBook and the Market status = CLOSED, you can go through the runner statuses and see which have a value WINNER. Be aware that some or all runners might have a status of REMOVED. If an event didn't happen or was abandoned, all runner statuses will be REMOVED. Some markets, such as places for a horse race, might have four winners. The marketBook includes a numberOfWinners.

    Comment

    • betdynamics
      Junior Member
      • Sep 2010
      • 534

      #3
      Do you mean the winner or the scores?

      Getting the winner is possible through the standard API; getting the scores is not.

      Details of the winner(s) can be found via calling listMarketBook on a closed market. Check out the documentation on:

      1. MarketBook (https://api.developer.betfair.com/se...ons-MarketBook)
      2. Runner (https://api.developer.betfair.com/se...nitions-Runner)

      Comment

      • thebettrader
        Junior Member
        • Apr 2016
        • 35

        #4
        Originally posted by jabe View Post
        Be aware that some or all runners might have a status of REMOVED. If an event didn't happen or was abandoned, all runner statuses will be REMOVED.
        Yes, getting the WINNER could be a great start. First I thought about the scores but the WINNER is good to be able to retreive.

        I looked at the documentation URL and could find this information then about the status:

        "The status of the selection (i.e., ACTIVE, REMOVED, WINNER, LOSER, HIDDEN) Runner status information is available for 90 days following market settlement."

        So it is possible to get this information up to 90 days after the game has ended as I understand? That was very good.
        Last edited by thebettrader; 24-04-2016, 08:49 PM.

        Comment

        • jabe
          Senior Member
          • Dec 2014
          • 705

          #5
          That's correct.

          A minor point - most events have multiple markets and when the event finishes they might not become CLOSED at the same time.

          Comment

          • Lopiner
            Junior Member
            • Feb 2009
            • 117

            #6
            THEBETTRADER

            If the Event has a "Correct Score" or similar market you can get the final score by looking at the selection that won (or by looking at several markets).
            fooledbyabet.com

            Comment

            • thebettrader
              Junior Member
              • Apr 2016
              • 35

              #7
              That is good to know, a good idéa perheps is to wait for example 6 hours after the event just to be on the sure side since the information is avaliable 90 days after the event is finished.

              Comment

              Working...
              X