BasketAPI

FREEMIUM
Por REcodeX | Actualizada 24 days ago | Sports
Popularidad

9.8 / 10

Latencia

543ms

Nivel de servicio

100%

Health Check

100%

Volver a todas las conversaciones

Elapsed Time

Rapid account: Saeed Q Kb Ep Hf 9
saeed-QKbEpHf-9
7 months ago

I’m trying the following implementations for elapsed time on my app:

  1. ticker with the current time left in the quarter
  2. calculations involving the total elapsed time in the game
  3. calculations involving the total elapsed time in the quarter

can anybody please provide me code on how to do this as im really struggling here using this api.

Rapid account: Fluis Lacasse
fluis.lacasse Commented 7 months ago

Hi,
You can check the time object in the match details(or schedules). Each quarter has periodLength 600s and the current played is also available there. The combined regular time is 4*600s and the overtimes has 300s length.
The intervals will be Q1 = [0;600], Q2 = [600;1200], Q3 = [1200;1800], Q4 = [1800;2400].
You can monitor the current period also at status->description.
From this info you can write the code for these questions.

Thanks.

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios