- Blind mode tutorial
lichess.org
Donate

Inconsistent timestamp parameters in games export API

lichess.org/api#operation/gamesExportUsername

I'm trying to create an incremental game downloader, which looks at the already downloaded games and only requests games newer than the latest one.

In the PGN the time of the game is given in UTC ( can be obtained by parsing "UTCDate" and "UTCTime" headers ).

If I try to use this as the "since" parameter I get the wrong result.

It seems that the "since" parameter is Paris time, so if I use the game UTC, games from two hours before this game are served ( I infer this because the difference of the first game in the test set from "since" was -7078 secs, which is cca. -2*3600 or -2 hours ).

I think that this inconsistency is not intuitive, I could only make a guess about it, and it is nowhere mentioned in the docs.

This topic has been archived and can no longer be replied to.