Hello,
I wanna know if there are the fields:
Both teams to score
Only one team score
on the macthesOdds endpoint.
There are any other endpoint with these info?
Thanks in advance
Lauro Victor
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
Hi Lauro,
sorry for the delay, but rapidAPI did not send me any notification.
To understand if in a match in progress, both teams scored, or only one, just check the value:
result -> teamA->score->f
and
result -> teamB->score->f
(if 0 to 0 or N to 0)
If instead you want to know what percentage the teams have scored both (BTTS) you can find the data below:
result -> teamA->perf->btts
and
result -> teamB->perf->btts
Also if you want to know how many times a team scored in the past 5 games, you can check:
result -> teamA->perf->o_0_5_game
and
result -> teamB->perf->o_0_5_game
I remind you that you can check all the values of the response json (with its explanation)
from here :
https://info.soccerfootball.info/v1/live/live-full