Hello,
I am trying to return all events for "soccer" and "basketball" which starts within 24 hours.
I just edited the post as I found out the problem. So the below code actually does work with an
exception:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listEvents", "params": {"filter":{"eventTypeIds": ["1","7522"] },"marketStartTime":{"from":"2016-05-16T22:53:00Z","to":"2016-05-17T22:53:00Z"},"inPlayOnly": "false"}, "id": 1}
There are events returned much later in datetime as this event for example, - even that I have specified from/to within 24 hours?
event":{"id":"27628499","name":"Portugal v Austria","countryCode":"FR","timezone":"Europe/London","openDate":"2016-06-18T19:00:00.000Z"},"marketCount":1}
Also another question came up. The above code doesn't return the odds for the events.
How could it be possible to include odds for moneyline/match betting,Total,Spread along
with above code when returning all events within 24 hours?
Thank you!
I am trying to return all events for "soccer" and "basketball" which starts within 24 hours.
I just edited the post as I found out the problem. So the below code actually does work with an
exception:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listEvents", "params": {"filter":{"eventTypeIds": ["1","7522"] },"marketStartTime":{"from":"2016-05-16T22:53:00Z","to":"2016-05-17T22:53:00Z"},"inPlayOnly": "false"}, "id": 1}
There are events returned much later in datetime as this event for example, - even that I have specified from/to within 24 hours?
event":{"id":"27628499","name":"Portugal v Austria","countryCode":"FR","timezone":"Europe/London","openDate":"2016-06-18T19:00:00.000Z"},"marketCount":1}
Also another question came up. The above code doesn't return the odds for the events.
How could it be possible to include odds for moneyline/match betting,Total,Spread along
with above code when returning all events within 24 hours?
Thank you!


Comment