Closed kubito closed 2 years ago
Hi,
This is normal because you have different possible values depending on the statistics:
null
valueYou have an example in our documentation ==> https://www.api-football.com/documentation-v3#tag/Fixtures/operation/get-fixtures-statistics
Best
From perspective of designing an API it is incorrect. You should not use one property with different data type.
Response on request
fixtures/statistics?fixture=${fixture}
has mismatched data type.Property
value
is numeric type and sometimes it is string type.See:
curl --location --request GET 'https://v3.football.api-sports.io/fixtures/statistics?fixture=867949'
Response