public Regions getRegions(Sport sport) { String url = BASE_URL.concat(sport.getId() + ".dll/menu"); Regions regions = ParseUtil.parseMenu(getURLContent(url)); return regions; }
public Events getEvents(Sport sport, Region region) { String url = BASE_URL.concat(sport.getId() + ".dll?gmt=0.0"); if (region != null) { url = url.concat("&page=" + region.getId()); } System.out.println(DecodeUtil.decode(getURLContent(url))); return null; }