Hi,
I am trying to piece this together step by step. I am trying to retrieve the Betting Summary Volume field in the events.
Total matched on this event: 70,451
Betting summary - Volume: 66,238
So I am starting with the sample Java code: https://github.com/betfair/API-NG-sa...ee/master/java
I am trying to retrieve football matches, this eventTypeID is always 7, which is horse racing. How can I edit this eventTypeID to football? I tried looking into the different folders but cannot the field to change to football. Thank you all!
I am trying to piece this together step by step. I am trying to retrieve the Betting Summary Volume field in the events.
Total matched on this event: 70,451
Betting summary - Volume: 66,238
So I am starting with the sample Java code: https://github.com/betfair/API-NG-sa...ee/master/java
I am trying to retrieve football matches, this eventTypeID is always 7, which is horse racing. How can I edit this eventTypeID to football? I tried looking into the different folders but cannot the field to change to football. Thank you all!
Code:
List<EventTypeResult> r = jsonOperations.listEventTypes(marketFilter, applicationKey, sessionToken);
System.out.println("2. Extract Event Type Id for Football...\n");
for (EventTypeResult eventTypeResult : r) {
if(eventTypeResult.getEventType().getName().equals("Horse Racing")){
System.out.println("3. EventTypeId for \"Horse Racing\" is: " + [COLOR="Red"]eventTypeResult.getEventType().getId()[/COLOR]+"\n");
eventTypeIds.add(eventTypeResult.getEventType().getId().toString());
}
}



Comment