Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ask top leagues matches
- VectorMatchSerializable result = WEBSERVICE.GetTopLeagueMatchesByDate(login, encryptedPass, date);
- // get competitions for date
- VectorCompetitionSerializable competitions = WEBSERVICE.GetCompetitionsWithMatches(login, encryptedPass, date);
- for (CompetitionSerializable competition : safe(competitions)) {
- // get matches for selected competitions
- VectorMatchSerializable compMatches = WEBSERVICE.GetMatchesByCompetitionAndDate(login, encryptedPass, date, competition.statDNACompetitionID, true);
- result.addAll(compMatches);
- }
- for (MatchSerializable match : result) {
- match.competitionName = match.competitionCountry + " - " + match.competitionName;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement