API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 7 days ago | Sports
Popularity

10 / 10

Latency

367ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Feature request: Statistics by date.

Rapid account: Xpdavidx
xpdavidx
5 years ago

It would be really awesome if you can provide statististics by given date:
e.g. If I will get statistics of the same team/league on 22.09.2018 and on 30.09.2018, then I will have the same results. But would be good if I will get statistics of a single team/league with past date, which will return me the statistics that the team had at that date and not today.

Rapid account: Api Sports
api-sports Commented 5 years ago

Done !

New endpoint at /statistics/{league_id}/{team_id}/2018-11-27

The given date produce this 2018-11-27 23:59:59.

Be careful the timeZone is in UTC

Good Day

Rapid account: Api Sports
api-sports Commented 5 years ago

Hello,

Great idea, I am doing the modification in the API, soon you will be able to pass the date in parameter.

Join in the discussion - add comment below:

Login / Signup to post new comments