BasketAPI

FREEMIUM
By REcodeX | Updated il y a 11 jours | Sports
Popularity

9.8 / 10

Latency

531ms

Service Level

100%

Health Check

100%

Back to All Discussions

Elapsed Time

Rapid account: Saeed Q Kb Ep Hf 9
saeed-QKbEpHf-9
6 महीने पहले

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 6 महीने पहले

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.

Join in the discussion - add comment below:

Login / Signup to post new comments