Eliakos

Results 28 comments of Eliakos

Hi, Thanks, is there a new document showing how to use the new software?

This would be very useful for newscomers, especially the ones beginning in javascript

Yes, here it is in JSON (i cut it half way as it's too long) before i get it into an object : "{\"offset\":148,\"per-page\":50,\"total\":174,\"events\":[{\"id\":890969957950041,\"name\":\"M Marterer vs K Nishikori\",\"sport-id\":9,\"start\":\"2018-08-28T20:00:00.000Z\",\"in-running-flag\":false,\"allow-live-betting\":true,\"category-id\":[9,399952692940010,410468520880009,574382349050019,642094935630012,872480912780041],\"status\":\"open\",\"volume\":2367.81928,\"markets\":[{\"live\":false,\"event-id\":890969957950041,\"id\":890969958170042,\"name\":\"Moneyline\",\"runners\":[{\"withdrawn\":false,\"prices\":[{\"available-amount\":413.40209,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":6.40000,\"decimal-odds\":6.40000,\"side\":\"back\",\"exchange-type\":\"back-lay\"},{\"available-amount\":272.63939,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":7.30000,\"decimal-odds\":7.30000,\"side\":\"lay\",\"exchange-type\":\"back-lay\"}],\"event-id\":890969957950041,\"id\":890969958230041,\"market-id\":890969958170042,\"name\":\"M Marterer\",\"status\":\"open\",\"volume\":350.34071,\"event-participant-id\":890969958000042},{\"withdrawn\":false,\"prices\":[{\"available-amount\":1717.62815,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":1.15873,\"decimal-odds\":1.15873,\"side\":\"back\",\"exchange-type\":\"back-lay\"},{\"available-amount\":2232.37126,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":1.18519,\"decimal-odds\":1.18519,\"side\":\"lay\",\"exchange-type\":\"back-lay\"}],\"event-id\":890969957950041,\"id\":890969958220042,\"market-id\":890969958170042,\"name\":\"K Nishikori\",\"status\":\"open\",\"volume\":733.77268,\"event-participant-id\":890969958010041}],\"start\":\"2018-08-28T20:00:00.000Z\",\"status\":\"open\",\"market-type\":\"money_line\",\"type\":\"binary\",\"in-running-flag\":false,\"allow-live-betting\":true,\"volume\":1084.11339,\"back-overround\":101.68599,\"lay-overround\":98.31401,\"number-of-winners\":1},{\"live\":false,\"event-id\":890969957950041,\"id\":891471181090041,\"name\":\"Handicap\",\"runners\":[{\"withdrawn\":false,\"prices\":[{\"available-amount\":475.71625,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":1.87719,\"decimal-odds\":1.87719,\"side\":\"back\",\"exchange-type\":\"back-lay\"},{\"available-amount\":421.67013,\"currency\":\"EUR\",\"odds-type\":\"DECIMAL\",\"odds\":1.98040,\"decimal-odds\":1.98040,\"side\":\"lay\",\"exchange-type\":\"back-lay\"}],\"event-id\":890969957950041,\"id\":891471181180042,\"market-id\":891471181090041,\"name\":\"M...

Ok, i just provided you the worst scenario, ie the biggest object i have without thinking if it's a good practice or not, the subject were to show a problem...

I opened an issue there, hoping they can solve the problem. To avoid this kind of problem, yes, that would be great being able to choose others serializers. Aside these...

No answer so far from fastjson but the serialization works in mongodb, even for the biggest object i have which i won't use in that form, but that was a...

Are these subjects actually possible with the wrapper or do we have to add some code managing this stuff? Would you have a code example of what is possible in...

Hello Harvey, I mostly agree on the live parameter. Mostly because i have strategies working on live events, so they work on 1 and 2 values event, but they would...

Yes, that would be great Harvey the wrapper support all the api features in general Yes, IsLive 1 never going to the other values is logic. 0 never going to...

So your advice is to not filter at source but to retrieve all events and inspect the live value to filter "locally" (at information retrieval)?