Please HELP listEvents result EMPTY

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • workitself
    Junior Member
    • Apr 2010
    • 6

    #1

    Please HELP listEvents result EMPTY

    Hello.
    Makes a request: {"jsonrpc": "2.0", "method": "SportsAPING / v1.0 / listEventTypes", "params": {"filter": {}}, "id": "1"}
    All OK:

    Continue to deepen the wood: (Horse Racing)
    {"jsonrpc": "2.0", "method": "SportsAPING / v1.0 / listEvents", "params": {"filter": {"eventTypeIds": ["7"], "marketStartTime": {"from ":" '+ TmpDateStart +' "," to ":" '+ TmpDateEnd +' "}}}}," id ":" 1 "}
    Answer GOOD:


    And further there is nothing like deepen below and get the games themselves?
    19:40 Win
    20:10 Win
    And so on ....
    nothing happens!

    Query:
    {"jsonrpc": "2.0", "method": "SportsAPING / v1.0 / listEvents", "params": {"filter": {"eventTypeIds": ["27453460"], "marketStartTime": {"from ":" '+ TmpDateStart +' "," to ":" '+ TmpDateEnd +' "}}}}," id ":" 1 "}

    Result EMPTY
  • TSDBDP
    Junior Member
    • Mar 2015
    • 4

    #2
    You want eventIds not evenTypeIds.

    {
    "jsonrpc": "2.0",
    "method": "SportsAPING/v1.0/listEvents",
    "params": {
    "filter": {
    "eventIds" : [27453460], "marketStartTime": {"from ":" '+ TmpDateStart +' "," to ":" '+ TmpDateEnd +' "}
    }
    },
    "id": 1
    }


    {
    "jsonrpc": "2.0",
    "result": [
    {
    "event": {
    "id": "27453460",
    "name": "Ling 28th May",
    "countryCode": "GB",
    "timezone": "Europe/London",
    "venue": "Lingfield",
    "openDate": "2015-05-28T13:00:00.000Z"
    },
    "marketCount": 24
    }
    ],
    "id": 1
    }

    Comment

    • workitself
      Junior Member
      • Apr 2010
      • 6

      #3
      I can not understand how to get a list of races, such Weth 28th May
      and more particularly:
      19:40 Win
      19:40 Placed
      19:40 Each Way
      20:10 Win
      20:10 Place
      etc...

      Comment

      • TSDBDP
        Junior Member
        • Mar 2015
        • 4

        #4
        Originally posted by workitself View Post
        I can not understand how to get a list of races, such Weth 28th May
        and more particularly:
        19:40 Win
        19:40 Placed
        19:40 Each Way
        20:10 Win
        20:10 Place
        etc...
        Try these two.

        https://api.developer.betfair.com/se...arketCatalogue

        https://api.developer.betfair.com/se...listMarketBook

        Comment

        Working...
        X