Addresses issue #51 which can now be closed. The function now uses fields from itemClassData rather than legacyData. This appears to include one new field, handicap. More importantly, it is being maintained by Betfair whereas legacyData presumably won't be. The code is easier to read and should more robust and less error prone.
Also fixed a minor error related to recordCountValue.
…ore robust.
Addresses issue #51 which can now be closed. The function now uses fields from
itemClassData
rather thanlegacyData
. This appears to include one new field,handicap
. More importantly, it is being maintained by Betfair whereaslegacyData
presumably won't be. The code is easier to read and should more robust and less error prone.Also fixed a minor error related to
recordCountValue
.