In a horse place market, how do I retrieve the number of places when I call listMarketCatalogue?
As an example, for the 16:25 at Huntingdom, I there are the Place market, 2 Places and 4 places.
How can I get the number of places?
Here is some example JSON@
{'marketId': '1.156120959', 'marketName': 'To Be Placed', 'marketStartTime': '2019-03-13T16:25:00.000Z', 'description': {'persistenceEnabled': True, 'bspMarket': True, 'marketTime': '2019-03-13T16:25:00.000Z', 'suspendTime': '2019-03-13T16:25:00.000Z', 'bettingType': 'ODDS', 'turnInPlayEnabled': True, 'marketType': 'PLACE', 'regulator': 'GIBRALTAR REGULATOR', 'marketBaseRate': 5.0, 'discountAllowed': True, 'wallet': 'UK wallet', 'rules': '<br><a href="http://form.timeform.betfair.com/" target="_blank"><img src=" http://content-cache.betfair.com/images/en_GB/mr_fr.gif" title=”Form/ Results” border="0"></a>\n<br><br><b>MARKET INFORMATION</b><br><br>For further information please see <a href=http://content.betfair.com/aboutus/content.asp?sWhichKey=Rules%20and%20Regulations#un defined.do style=color:0163ad; text-decoration: underline; target=_blank>Rules & Regs.</a><br><br>Who will finish 1st, 2nd or 3rd in this race? NON RUNNERS DO NOT CHANGE THE PLACE TERMS. Should the number of runners be equal to or less than the number of places available as set out above in these rules all bets will be void. Betfair Non-Runner Rule applies. <b>This market will turn IN PLAY at the off with unmatched bets (with the exception of bets for which the "keep" option has been selected) cancelled once the Betfair SP reconciliation process has been completed. Betting will be suspended at the end of the race.</b> This market will initially be settled on a First Past the Post basis. However we will re-settle all bets should the official result at the time of the "weigh-in" announcement differ from any initial settlement. BETS ARE PLACED ON A NAMED HORSE. Dead Heat rules apply.<br><br>Customers should be aware that:<ol><b><li>transmissions described as "live" by some broadcasters may actually be delayed;</li><li>the extent of any such delay may vary, depending on the set-up through which they are receiving pictures or data; and</li></b><li>information (such as jockey silks, saddlecloth numbers etc) is provided "as is" and is for guidance only. Betfair does not guarantee the accuracy of this information and use of it to place bets is entirely at your own risk.</li></ol><br>', 'rulesHasDate': True, 'raceType': 'Hurdle', 'priceLadderDescription': {'type': 'CLASSIC'}}, 'totalMatched': 7375.1, 'runners': [{'selectionId': 21339427, 'runnerName': 'Bbold', 'handicap': 0.0, 'sortPriority': 1}, {'selectionId': 16927446, 'runnerName': 'Lucky Lover Boy', 'handicap': 0.0, 'sortPriority': 2}, {'selectionId': 12335730, 'runnerName': 'Cardigan Bay', 'handicap': 0.0, 'sortPriority': 3}, {'selectionId': 17041781, 'runnerName': 'Enlighten', 'handicap': 0.0, 'sortPriority': 4}, {'selectionId': 21621736, 'runnerName': 'Clondaw Storm', 'handicap': 0.0, 'sortPriority': 5}, {'selectionId': 13310603, 'runnerName': 'Neverbeen To Paris', 'handicap': 0.0, 'sortPriority': 6}, {'selectionId': 22046334, 'runnerName': 'Carolines Charm', 'handicap': 0.0, 'sortPriority': 7}, {'selectionId': 17933139, 'runnerName': 'Duration', 'handicap': 0.0, 'sortPriority': 8}, {'selectionId': 22945491, 'runnerName': 'Dina Maker', 'handicap': 0.0, 'sortPriority': 9}, {'selectionId': 3859227, 'runnerName': 'Power Surge', 'handicap': 0.0, 'sortPriority': 10}, {'selectionId': 4830055, 'runnerName': 'Playa Blanca', 'handicap': 0.0, 'sortPriority': 11}], 'event': {'id': '29179518', 'name': 'Hunt 13th Mar', 'countryCode': 'GB', 'timezone': 'Europe/London', 'venue': 'Huntingdon', 'openDate': '2019-03-13T13:45:00.000Z'}}
As an example, for the 16:25 at Huntingdom, I there are the Place market, 2 Places and 4 places.
How can I get the number of places?
Here is some example JSON@
{'marketId': '1.156120959', 'marketName': 'To Be Placed', 'marketStartTime': '2019-03-13T16:25:00.000Z', 'description': {'persistenceEnabled': True, 'bspMarket': True, 'marketTime': '2019-03-13T16:25:00.000Z', 'suspendTime': '2019-03-13T16:25:00.000Z', 'bettingType': 'ODDS', 'turnInPlayEnabled': True, 'marketType': 'PLACE', 'regulator': 'GIBRALTAR REGULATOR', 'marketBaseRate': 5.0, 'discountAllowed': True, 'wallet': 'UK wallet', 'rules': '<br><a href="http://form.timeform.betfair.com/" target="_blank"><img src=" http://content-cache.betfair.com/images/en_GB/mr_fr.gif" title=”Form/ Results” border="0"></a>\n<br><br><b>MARKET INFORMATION</b><br><br>For further information please see <a href=http://content.betfair.com/aboutus/content.asp?sWhichKey=Rules%20and%20Regulations#un defined.do style=color:0163ad; text-decoration: underline; target=_blank>Rules & Regs.</a><br><br>Who will finish 1st, 2nd or 3rd in this race? NON RUNNERS DO NOT CHANGE THE PLACE TERMS. Should the number of runners be equal to or less than the number of places available as set out above in these rules all bets will be void. Betfair Non-Runner Rule applies. <b>This market will turn IN PLAY at the off with unmatched bets (with the exception of bets for which the "keep" option has been selected) cancelled once the Betfair SP reconciliation process has been completed. Betting will be suspended at the end of the race.</b> This market will initially be settled on a First Past the Post basis. However we will re-settle all bets should the official result at the time of the "weigh-in" announcement differ from any initial settlement. BETS ARE PLACED ON A NAMED HORSE. Dead Heat rules apply.<br><br>Customers should be aware that:<ol><b><li>transmissions described as "live" by some broadcasters may actually be delayed;</li><li>the extent of any such delay may vary, depending on the set-up through which they are receiving pictures or data; and</li></b><li>information (such as jockey silks, saddlecloth numbers etc) is provided "as is" and is for guidance only. Betfair does not guarantee the accuracy of this information and use of it to place bets is entirely at your own risk.</li></ol><br>', 'rulesHasDate': True, 'raceType': 'Hurdle', 'priceLadderDescription': {'type': 'CLASSIC'}}, 'totalMatched': 7375.1, 'runners': [{'selectionId': 21339427, 'runnerName': 'Bbold', 'handicap': 0.0, 'sortPriority': 1}, {'selectionId': 16927446, 'runnerName': 'Lucky Lover Boy', 'handicap': 0.0, 'sortPriority': 2}, {'selectionId': 12335730, 'runnerName': 'Cardigan Bay', 'handicap': 0.0, 'sortPriority': 3}, {'selectionId': 17041781, 'runnerName': 'Enlighten', 'handicap': 0.0, 'sortPriority': 4}, {'selectionId': 21621736, 'runnerName': 'Clondaw Storm', 'handicap': 0.0, 'sortPriority': 5}, {'selectionId': 13310603, 'runnerName': 'Neverbeen To Paris', 'handicap': 0.0, 'sortPriority': 6}, {'selectionId': 22046334, 'runnerName': 'Carolines Charm', 'handicap': 0.0, 'sortPriority': 7}, {'selectionId': 17933139, 'runnerName': 'Duration', 'handicap': 0.0, 'sortPriority': 8}, {'selectionId': 22945491, 'runnerName': 'Dina Maker', 'handicap': 0.0, 'sortPriority': 9}, {'selectionId': 3859227, 'runnerName': 'Power Surge', 'handicap': 0.0, 'sortPriority': 10}, {'selectionId': 4830055, 'runnerName': 'Playa Blanca', 'handicap': 0.0, 'sortPriority': 11}], 'event': {'id': '29179518', 'name': 'Hunt 13th Mar', 'countryCode': 'GB', 'timezone': 'Europe/London', 'venue': 'Huntingdon', 'openDate': '2019-03-13T13:45:00.000Z'}}


Comment