Market Catalog Market Name contains wierd info ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    Market Catalog Market Name contains wierd info ?

    Hi I have a bit of a problem with Market Catalog marketname. Normally when I call the Australia Endpoint no worries, however this problem is occurring when I call the UK endpoint.

    Some races are showing up with the race number and others are not. Here is an example which can also be seen in my snapshot of my betting app:

    12:48 AM Monmore A2 480m
    12:50 AM Plumpton 3m2f Hcap cls
    Note: 12:48 AM is my local time in Aus for UK race start.


    The greyhound race shows Race 2 (ie A2) BUT the plumpton race should be Race 4 and I can't see where it states that. The 3m2f I understand. Is the Race 4 data buried somewhere else ? I have looked in MARKET_DESCRIPTION and RUNNER_METADATA. PS. I note that in Betfair it contains the data below ???

    01:50 Plumpton | 01 Apr
    R4 Underwriting Exchange Handicap Chase (Class 5) | 5230m
    Prize: £5,000.00 | Runners: 10 | Good







    Code:
    Calling: SportsAPING/v1.0/listMarketCatalogue With args: {"filter":{"eventTypeIds":["7","4339"],"marketCountries":[],"marketTypeCodes":["WIN","PLACE"],"marketStartTime":{"from":"2014-04-01T00:45:20.9828494+10:00","to":"2014-04-02T00:46:20.9828494+10:00"}},"marketProjection":["COMPETITION","EVENT","EVENT_TYPE","MARKET_START_TIME","RUNNER_DESCRIPTION"],"sort":"FIRST_TO_START","maxResults":"4","locale":null}
    Code:
    Got Response: {"jsonrpc":"2.0","result":[{"marketId":"1.113519896","marketName":"A2 480m","marketStartTime":"2014-03-31T14:48:00Z","isMarketDataDelayed":false,"runners":[{"selectionId":8273633,"runnerName":"1. Avaune Pearl","handicap":0.0},{"selectionId":8202538,"runnerName":"2. Captains Wish","handicap":0.0},{"selectionId":6937727,"runnerName":"3. Farloe Thekid","handicap":0.0},{"selectionId":8428609,"runnerName":"4. Moanteen Stella","handicap":0.0},{"selectionId":6541466,"runnerName":"5. Tuttles Rafael","handicap":0.0},{"selectionId":5608706,"runnerName":"6. Farloe Mysterio","handicap":0.0}],"eventType":{"id":"4339","name":"Greyhound Racing"},"event":{"id":"27178164","name":"Monm 31st Mar","countryCode":"GB","timezone":"Europe/London","venue":"Monmore","openDate":"2014-03-31T13:08:00Z"}},{"marketId":"1.113519897","marketName":"To Be Placed","marketStartTime":"2014-03-31T14:48:00Z","isMarketDataDelayed":false,"runners":[{"selectionId":8273633,"runnerName":"1. Avaune Pearl","handicap":0.0},{"selectionId":82025
    38,"runnerName":"2. Captains Wish","handicap":0.0},{"selectionId":6937727,"runnerName":"3. Farloe Thekid","handicap":0.0},{"selectionId":8428609,"runnerName":"4. Moanteen Stella","handicap":0.0},{"selectionId":6541466,"runnerName":"5. Tuttles Rafael","handicap":0.0},{"selectionId":5608706,"runnerName":"6. Farloe Mysterio","handicap":0.0}],"eventType":{"id":"4339","name":"Greyhound Racing"},"event":{"id":"27178164","name":"Monm 31st Mar","countryCode":"GB","timezone":"Europe/London","venue":"Monmore","openDate":"2014-03-31T13:08:00Z"}},{"marketId":"1.113518175","marketName":"3m2f Hcap Chs","marketStartTime":"2014-03-31T14:50:00Z","isMarketDataDelayed":false,"runners":[{"selectionId":5293520,"runnerName":"Ballyvoneen","handicap":0.0},{"selectionId":5161259,"runnerName":"Airmens Friend","handicap":0.0},{"selectionId":6484259,"runnerName":"Dushy Valley","handicap":0.0},{"selectionId":6261753,"runnerName":"Uncle Pettit","handicap":0.0},{"selectionId":6773815,"runnerName":"Flugzeug","handicap":0.0},{"selectionId":40
    59528,"runnerName":"Alteranthela","handicap":0.0},{"selectionId":3067479,"runnerName":"Roseneath","handicap":0.0},{"selectionId":6089703,"runnerName":"Roparta Avenue","handicap":0.0},{"selectionId":3344376,"runnerName":"Tchang Goon","handicap":0.0},{"selectionId":5623947,"runnerName":"Cool Fantasy","handicap":0.0},{"selectionId":5933013,"runnerName":"Marble Walk","handicap":0.0}],"eventType":{"id":"7","name":"Horse Racing"},"event":{"id":"27178069","name":"Plump 31st Mar","countryCode":"GB","timezone":"Europe/London","venue":"Plumpton","openDate":"2014-03-31T13:20:00Z"}},{"marketId":"1.113518176","marketName":"To Be Placed","marketStartTime":"2014-03-31T14:50:00Z","isMarketDataDelayed":false,"runners":[{"selectionId":5293520,"runnerName":"Ballyvoneen","handicap":0.0},{"selectionId":5161259,"runnerName":"Airmens Friend","handicap":0.0},{"selectionId":6484259,"runnerName":"Dushy Valley","handicap":0.0},{"selectionId":6261753,"runnerName":"Uncle Pettit","handicap":0.0},{"selectionId":6773815,"runnerName":"Flugzeu
    g","handicap":0.0},{"selectionId":4059528,"runnerName":"Alteranthela","handicap":0.0},{"selectionId":3067479,"runnerName":"Roseneath","handicap":0.0},{"selectionId":6089703,"runnerName":"Roparta Avenue","handicap":0.0},{"selectionId":3344376,"runnerName":"Tchang Goon","handicap":0.0},{"selectionId":5623947,"runnerName":"Cool Fantasy","handicap":0.0},{"selectionId":5933013,"runnerName":"Marble Walk","handicap":0.0}],"eventType":{"id":"7","name":"Horse Racing"},"event":{"id":"27178069","name":"Plump 31st Mar","countryCode":"GB","timezone":"Europe/London","venue":"Plumpton","openDate":"2014-03-31T13:20:00Z"}}],"id":1}
    Last edited by Guest; 31-03-2014, 04:12 PM.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    A2 is NOT the race number - it is the class of the greyhound race.

    No UK greyhound races or horse races show a race number (as this is not traditionally used in the UK).

    Comment

    • Guest

      #3
      Thanks betdynamics, it was late last night and it just so happened that Race 2 was the class A2 which confused me.

      My question still remains however, that Betfair themselves must know the race number as they displayed it on their website

      01:50 Plumpton | 01 Apr
      R4 Underwriting Exchange Handicap Chase (Class 5) | 5230m
      Prize: £5,000.00 | Runners: 10 | Good

      I was using the Race number (with other data) to scrape odds from another betting site so that I could compare odds and take the best odds available.

      Hmmmm maybe I will need to just use the Race Event Name together with the first Runner name OR race distance to scrape ... somehow.
      Last edited by Guest; 31-03-2014, 11:39 PM.

      Comment

      Working...
      X