Timestamps for matches seem incorrect
complete
D
David (4414)
Looking at timestamps for matches from the https://api.statbotics.io/v2/matches/event/ API, the timestamps do not seem to match those from TBA - and all of the match timestamps are only a few seconds apart and seem incorrect.
Example: 2022caph_f1m1, timestamp on Statbotics is 1646284101. Timestamp on TBA is 1646609400 (Sunday afternoon for this event, which is correct).
A
Abhijit Gupta
complete
A
Abhijit Gupta
in progress
A
Abhijit Gupta
planned
A
Abhijit Gupta
Yeah I should document this better. Currently the timestamp is essentially the event timestamp plus the match index, and is only used to sort matches chronologically. Eventually this should instead pull from TBA as you expected.
D
David (4414)
Abhijit Gupta: Any update here? Would save us an extra API call in our app to get match times from TBA :)
A
Abhijit Gupta
David (4414): I'll try to get to it this week but no promises. I'll keep you posted.
A
Abhijit Gupta
David (4414): Correct timestamps are now live in the API and on the website. There is both an official
time
and TBA predicted_time
column. Let me know if this works for you.Great reveal btw!
D
David (4414)
Abhijit Gupta: Thanks so much!