I am missing the resultTypeID in the /getresultinfos/{leagueId}. Match results contain the resultTypeID which could be used to match the result info of the league.
Similarly, globalresultinfo in the same endpoint does not contain any type ID. Although it is not clear to me what the purpose of globalresultinfo is. Based on the README (https://github.com/OpenLigaDB/OpenLigaDB-Samples#:~:text=Weiterhin,Tabelle) I understand it that it is always:
# mapping result name to result type ID
type_ids = {
'Halbzeit': 1,
'Endergebnis': 2,
'nach Verlängerung': 3,
'nach Elfmeterschießen': 4,
}
I am missing the
resultTypeIDin the/getresultinfos/{leagueId}. Match results contain theresultTypeIDwhich could be used to match the result info of the league.Similarly,
globalresultinfoin the same endpoint does not contain any type ID. Although it is not clear to me what the purpose of globalresultinfo is. Based on the README (https://github.com/OpenLigaDB/OpenLigaDB-Samples#:~:text=Weiterhin,Tabelle) I understand it that it is always: