Add api football files updater

This commit is contained in:
2020-10-07 22:14:13 +02:00
parent f997b9bf46
commit 285ec1074a
18 changed files with 15808 additions and 1048 deletions
@@ -0,0 +1,20 @@
package de.jeyp91.apifootball;
import org.junit.Test;
import java.io.IOException;
public class APIFootballUpdaterTest {
@Test
public void updateFixturesTest() throws IOException {
APIFootballUpdater updater = new APIFootballUpdater(2021);
updater.updateFixtures(2743);
}
@Test
public void updateAllFixturesTest() throws IOException {
APIFootballUpdater updater = new APIFootballUpdater(2021);
updater.updateAllFixtures("Tippliga.json");
}
}