listMarketCatalogue BUG

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lopiner
    Junior Member
    • Feb 2009
    • 117

    #1

    listMarketCatalogue BUG

    I cannot, by any means, make listMarketCatalogue return this market: 1.115931477

    This is just an example, but i'n seeing that listMarketCatalogue doesn't return a lot of markets.

    For example, this request should return in one of the pages that market id:

    Code:
    {
        "jsonrpc": "2.0",
        "method": "SportsAPING/v1.0/listMarketCatalogue",
        "params": {
            "filter": {
                "eventTypeIds": [
                    "1"
                ],
                "marketStartTime": {
                    "from": "2014-10-23T13:23:49.4149234Z",
                    "to": "2015-10-23T13:23:49.4149234Z"
                }
            },
            "marketProjection": [
                "EVENT_TYPE",
                "MARKET_START_TIME"
            ],
            "sort": "FIRST_TO_START",
            "maxResults": "1000",
            "locale": null
        },
        "id": 1
    }
    I have some bets on that market so a call to listMarketCatalogue like this should return that market id but no luck:

    Code:
    {
        "jsonrpc": "2.0",
        "method": "SportsAPING/v1.0/listMarketCatalogue",
        "params": {
            "filter": {
                "withOrders": [
                    "EXECUTABLE",
                    "EXECUTION_COMPLETE"
                ]
            },
            "marketProjection": [
                "EVENT_TYPE",
                "MARKET_START_TIME"
            ],
            "sort": "FIRST_TO_START",
            "maxResults": "1000",
            "locale": "en"
        },
        "id": 1
    }
    Can anyone confirm this? Thanks
    fooledbyabet.com
  • wotsisname
    Junior Member
    • Jan 2009
    • 16

    #2
    Market no longer exists, however if you already know the market id you can set the 'marketIds' parameter in your listMarketCatalogue request:
    Code:
    market_ids = [1.115931477]
    'filter': {
        'marketIds': market_ids
    }

    Comment

    • Lopiner
      Junior Member
      • Feb 2009
      • 117

      #3
      Thanks wotsisname, the market was set to start in a few hours when i posted it. If i included the market id in the request i would get the market, but the market would not get returned in any other way. Something is wrong with this call that is ignoring some markets, ill just have to wait to see others having issues with it i think.
      fooledbyabet.com

      Comment

      • Intrepid
        Junior Member
        • Sep 2012
        • 11

        #4
        sounds similiar to the problem i had, Gus put the winner up, sett the thread "2.30 fake"

        Comment

        Working...
        X