BasketAPI

부분 유료
분류별 REcodeX | 업데이트됨 vor 24 Tagen | Sports
인기

9.8 / 10

지연 시간

543ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

Elapsed Time

Rapid account: Saeed Q Kb Ep Hf 9
saeed-QKbEpHf-9
vor 7 Monaten

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 vor 7 Monaten

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입