Correct - I think you need to use listMarketCatalogue in order to get the runner details.
Dealing with usage limits
Collapse
X
-
-
Thanks, that wasn't too hard.Originally posted by betdynamics View PostCorrect - I think you need to use listMarketCatalogue in order to get the runner details.
On a separate matter, why do I get a lot of blank returns from my data requests? For instance I'm looking at the 5:10 Newmarket horse race today. The following code prints out "OK", so it looks as if it has worked:
Dim response As WebResponse = request.GetResponse()
Debug.Print(CType(response, HttpWebResponse).StatusDescription)
I have:
mID = "113736733"
and
request = "{""jsonrpc"": ""2.0"", ""method"":""SportsAPING/v1.0/listMarketBook"", ""params"": {""marketIds"":[""" & mID & """], ""priceProjection"" :{""priceData"": [""EX_BEST_OFFERS""]}}, ""id"": 1}"
but the response is just:
{"jsonrpc":"2.0","result":[],"id":1}
i.e. it doesn't have any data in it at all. For all the earlier Newmarket horse races I get appropriate data. Is the fault mine or is it at betfair's end?
Comment


Comment