コード例 #1
0
  public Regions getRegions(Sport sport) {
    String url = BASE_URL.concat(sport.getId() + ".dll/menu");

    Regions regions = ParseUtil.parseMenu(getURLContent(url));

    return regions;
  }
コード例 #2
0
  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;
  }