Skip to content
Rémi MARION edited this page Sep 8, 2018 · 11 revisions

JFData Wiki

Welcome to the java-football-data wiki! This small java library allows you to get all the football data from the football-data.org API.

How to use

The first thing to do for use the java library is to create an account on football-data.org to get a personal token. After that, integrate the library into your project.

You can download the .jar here and add it to your project, or download the repository and import it as a maven project.

Now you can instantiate the JfdataManager class with your token like this :

JfdataManager jfdataManager = new JfdataManager("MY_TOKEN");

The JfdataManager class then allows you to access a set of methods:

You can also consult the page for unit tests the page for unit tests.

Dependencies

This project is based on the Apache Maven package manager.

The only external package used in this library is Google's Gson, it allows to transform the JSON object from the football-data.org API into a JAVA object.

Football-data.org

All data comes from football-data.org's API, for more informations, visit the website.

Clone this wiki locally