listCompetitions not returning competition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ninja
    Junior Member
    • Aug 2023
    • 8

    #1

    listCompetitions not returning competition

    Hi everybody,
    I noticed that listCompetitions API is not returning "Romanian Liga II". That competition is present on betfair.com.
    I'm not using any filter when I make the request.
    Is there a way to have this issue checked?

    Thanks
  • Ninja
    Junior Member
    • Aug 2023
    • 8

    #2
    Weird thing navigation/menu.json​ returns it:

    image.png​​

    Comment

    • BetfairDeveloperProgram
      Administrator
      • Oct 2008
      • 680

      #3
      Morning Ninja,

      I've checked this and can see that Romanian Liga II is returning as expected. See attached.

      Kind Regards

      Neil

      Attached Files

      Comment

      • Ninja
        Junior Member
        • Aug 2023
        • 8

        #4
        Thank you very much, Neil.
        Ok then the issue must be inside betfairlightweight​. I'm using this python wrapper (the betting endpoint) and it doesn't return this competition.
        So weird.
        I ran simply the list_competitions() (no filters), attached what i get.
        I'll try to get this checked by the guys who developed betfairlightweight.

        Thanks again for checking.
        Attached Files

        Comment

        • Ninja
          Junior Member
          • Aug 2023
          • 8

          #5
          Hi Neil,
          I think the issue is in my account. I just tested the request here: https://docs.developer.betfair.com/v...ts-operations/ and I don't have Romanian Liga II in my response.
          Only 1 result looking for "Roman":

          image.png


          Different users can actually get different responses from the APIs?​

          Thanks

          Comment

          • Ninja
            Junior Member
            • Aug 2023
            • 8

            #6
            I get only 141 results, in your screenshot i see you got 149:


            image.png

            Comment

            • BetfairDeveloperProgram
              Administrator
              • Oct 2008
              • 680

              #7
              Hi Ninja

              Thanks for letting me know.

              I currently received 152 competitions consistently using the Delayed or Live App Key.

              Please can you confirm the specific filters you are using when making the request?

              My request is

              [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listCompetitions", "params": {"filter":{"eventTypeIds":["1"]}}, "id": 1}]

              Thanks

              Neil

              Comment

              • Ninja
                Junior Member
                • Aug 2023
                • 8

                #8
                Hi Neil,
                I confirm I'm using just the filter on event type (soccer). Now I get 145 results. Romanian Liga II still missing (I sorted the results by competition name so it would show if it was there):

                image.png

                Comment

                • BetfairDeveloperProgram
                  Administrator
                  • Oct 2008
                  • 680

                  #9
                  Hi Ninja

                  Thanks for confirming.

                  Please contact bdp@betfair.com confirming your App Key and IP address as this will help us to investigate the issue further.

                  Neil

                  Comment

                  • Ninja
                    Junior Member
                    • Aug 2023
                    • 8

                    #10
                    Thank you very much, Neil. I appreciate your help!

                    Comment

                    Working...
                    X