Dealing with usage limits

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #16
    Correct - I think you need to use listMarketCatalogue in order to get the runner details.

    Comment

    • Arbu
      Junior Member
      • Nov 2012
      • 16

      #17
      Originally posted by betdynamics View Post
      Correct - I think you need to use listMarketCatalogue in order to get the runner details.
      Thanks, that wasn't too hard.

      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

      Working...
      X