Hello,
To my surprise when I started digging into making a Java bot I found a total lack of documentation, a github repo for Java that doesn't even have a maven jar file so you need to build it yourself and almost no javadoc.
When you do something like:
Set<MarketProjection> marketProjection = new HashSet<MarketProjection>();
marketProjection.add(MarketProjection.EVENT);
marketFilter = new MarketFilter();
marketFilter.setEventTypeIds(eventTypeIds);
marketFilter.setMarketCountries(countries);
marketFilter.setMarketBettingTypes(marketType);
marketFilter.setCompetitionIds(comptetition);
List<MarketCatalogue> marketCatalogueResult = jsonOperations.listMarketCatalogue(marketFilter,ma rketProjection, MarketSort.FIRST_TO_START,
"1000",applicationKey,sessionToken);
then you get a list that contains almost everything in random order, something like schemantic babel of sports.
It is not clear at all how can I get only match odds from the current premier league matches without outrights,half,exact scores etc.
the "1000" is another bonus where numbers have been turned into strings after many years of software evolution.
To my surprise when I started digging into making a Java bot I found a total lack of documentation, a github repo for Java that doesn't even have a maven jar file so you need to build it yourself and almost no javadoc.
When you do something like:
Set<MarketProjection> marketProjection = new HashSet<MarketProjection>();
marketProjection.add(MarketProjection.EVENT);
marketFilter = new MarketFilter();
marketFilter.setEventTypeIds(eventTypeIds);
marketFilter.setMarketCountries(countries);
marketFilter.setMarketBettingTypes(marketType);
marketFilter.setCompetitionIds(comptetition);
List<MarketCatalogue> marketCatalogueResult = jsonOperations.listMarketCatalogue(marketFilter,ma rketProjection, MarketSort.FIRST_TO_START,
"1000",applicationKey,sessionToken);
then you get a list that contains almost everything in random order, something like schemantic babel of sports.
It is not clear at all how can I get only match odds from the current premier league matches without outrights,half,exact scores etc.
the "1000" is another bonus where numbers have been turned into strings after many years of software evolution.

