What has happened?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JayBee
    Junior Member
    • Oct 2010
    • 114

    #1

    What has happened?

    I stopped coding for a few months and now I return and nothing works!

    I appreciate that there is a new API but I thought the old one would work in parallel.

    I used the tutorial in the .NET section to build a program a few years ago and now not even the login works so my programs won't work.

    Can someone direct me to where I need to read up on what has changed so that I can modify my code?

    Thanks!
  • AlgoTrader
    Junior Member
    • Mar 2012
    • 243

    #2
    Everything work perfect:

    ===== Logging in to Betfair =====
    Remember new session token
    Login OK
    ===== Get available tennis matches =====
    action: getAllMarkets error: null duration: 0.051
    There are 28 markets after filtering
    Selected market "109759910", "Kudla v De Schepper"
    ===== Call getMarket for marketId="109759910" =====
    action: getMarket error: null duration: 0.029
    marketId: 109759910
    market name: Match Odds
    market time: Fri Jun 14 2013 10:00:00 GMT+0000 (UTC)
    playerOneId: 4829260
    playerOneName: Denis Kudla
    playerTwoId: 5617034
    playerTwoName: Kenny De Schepper
    ===== Logging out... =====
    Closing session
    Logout OK
    ===== TEST OK =====
    Betfair Bots Made Easy

    Comment

    • JayBee
      Junior Member
      • Oct 2010
      • 114

      #3
      Here is my old code...

      'Login
      Dim oLoginReq As New BFGlobal.LoginReq
      Dim oLoginResp As BFGlobal.LoginResp
      With oLoginReq
      .username = "username"
      .password = "password"
      .productId = 82 'For free API
      End With
      Print("*** Login ***")
      oLoginResp = BetfairGL.login(oLoginReq) 'Call the API
      With oLoginResp
      CheckHeader(.header)
      Print("Login ErrorCode = " & .errorCode.ToString)
      End With

      I just get "API_ERROR" returned. There is more than £10 in my account.

      Comment

      • PT_PT
        Junior Member
        • Nov 2012
        • 17

        #4
        I believe that having a funded account is not enough.
        I think that you need to a have a bet placed in the last x days/months to be able to use the API.

        Comment

        • JayBee
          Junior Member
          • Oct 2010
          • 114

          #5
          Is that new?

          Because a month ago the program worked and I haven't placed a bet for over a year.

          Has the old API changed recently? Or maybe the login in particular.

          Comment

          • PT_PT
            Junior Member
            • Nov 2012
            • 17

            #6
            I have no idea then...
            It is working for me using a java client.

            Take a look at this thread: https://forum.bdp.betfair.com/showthread.php?t=1812
            Probably this is a different problem as that user was able to login.

            Comment

            Working...
            X