Includes
Last updated
Was this helpful?
Last updated
Was this helpful?
The "Includes" parameter allows you to specify additional information to be included in the API response. For xG values, we offer two primary includes:xGFixture
and the nested include lineups.xGLineup
.
To retrieve the xG values by team for a fixture, we've introduced an include to use. You can use xGFixture
on the Fixture entities, to retrieve the xG values for teams participating in a match. You can use this include as follows:
To retrieve the xG values by player for a fixture, we've introduced an include to use. You can use lineups.xGLineup
on the Fixture entities, to retrieve the xG values for players participating in a match. You can use this include as follows: