Football predictions using Machine Learning
- On requete 1 journée de championnat
- On récupère tous les fixtures ID (10 normalement) + vainqueur du match
- On requête les prédictions pour chaque fixture ID récupéré
- On ajoute les données reçues, ainsi que le vainqueur du match dans le CSV
"last_5_matchs" : les performances sur les 5 derniers matchs d'une équipe donnée, dans le championnat donné
"comparison" : comparaison des matchs entre deux équipes données
Exemple pour https://api-football-v1.p.rapidapi.com/v2/predictions/571659
"last_5_matches": {
"forme": "53%",
"att": "50%",
"def": "86%",
"goals": 7,
"goals_avg": 1.4,
"goals_against": 2,
"goals_against_avg": 0.4
}
"last_5_matches": {
"forme": "53%",
"att": "64%",
"def": "50%",
"goals": 9,
"goals_avg": 1.8,
"goals_against": 7,
"goals_against_avg": 1.4
}
"comparison": {
"forme": {
"home": "50%",
"away": "50%"
},
"att": {
"home": "44%",
"away": "56%"
},
"def": {
"home": "78%",
"away": "22%"
},
"fish_law": {
"home": "0%",
"away": "0%"
},
"h2h": {
"home": "93%",
"away": "7%"
},
"goals_h2h": {
"home": "76%",
"away": "24%"
}
}
{
"winner":1,
"home": {
"forme": "50%",
"att": "44%",
"def": "78%",
"goals_avg": 1.4,
"goals_against_avg": 0.4,
"h2h_result": "93%"
},
"away": {
"forme": "50%",
"att": "56%",
"def": "22%",
"goals_avg": 1.8,
"goals_against_avg": 1.4,
"h2h_result": "7%"
}
}