Hi,
I'm not sure if I have misunderstood what the API does or not but I
presume that I can for example request a list of market prices for all events in a competition.
So far I managed to get all events in for example the Premiership with listEvents with params:
This just gives me a list of events though, where are the market prices?
The documentation is an absolute mess and the only examples are for Horse Racing (perhaps an example for the most popular sport and the most popular competition would be helpful!).
Any help would be appreciated.
Thanks,
David.
I'm not sure if I have misunderstood what the API does or not but I
presume that I can for example request a list of market prices for all events in a competition.
So far I managed to get all events in for example the Premiership with listEvents with params:
Code:
$params = '{"filter":{"competitionIds":["31"],
"marketTypeCodes":["CORRECT_SCORE"],
"marketStartTime":{"from":"' . date('c') . '"}},
"maxResults":"100"}';
The documentation is an absolute mess and the only examples are for Horse Racing (perhaps an example for the most popular sport and the most popular competition would be helpful!).
Any help would be appreciated.
Thanks,
David.


Comment