or asked another way, why make “lines” and object and not an array?
data.events[i].lines.2.spread… seems not to work (i.e. dot-notation WILL not work with this setup). Anyone have any thoughts on how to access this data in my node-code using dot-notation or otherwise?
아래에 의견을 추가하고 토론에 참여하세요.
The lines are an object to allow efficient (O(1)) selection of specific sportsbook’s odds. When using JavaScript or NodeJS, you will need to use the following to access the data:
which results in a single additional character (two brackets instead of a single dot).