SportScore

부분 유료
Verified
분류별 Tipsters CO | 업데이트됨 vor 22 Tagen | Sports
인기

9.9 / 10

지연 시간

135ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

Tennis Stats is an unstable API

Rapid account: Danikgan
danikgan
vor 2 Jahren

I’m running the following command:

def test():
    live_data = request_live_data()
    for match in live_data["data"]:
        print(request_event_stats(match["id"]))
        print("\n\n")
test()

where request_live_data() is for this API: "https://sportscore1.p.rapidapi.com/sports/2/events/live"
and request_event_stats(event_id) if for this API: "https://sportscore1.p.rapidapi.com/events/" + str(event_id) + "/statistics"

However, very often and sometimes more often than not I am getting a response of:

{'data': [], 'meta': None}

I am wondering whether this is something expected or you’re able to fix this. It is the only complaint I have about the service, but it is crucial for me as at times I’m not getting live data on time.

https://ibb.co/LpFwwXv

Rapid account: Tipsters
tipsters Commented vor 2 Jahren

On other sites? or on this site? https://tipsscore.com/en/tennis
Can you confirm that it is on this site for the match, but it is not in the api response?

Rapid account: Danikgan
danikgan Commented vor 2 Jahren

Hello, I can confirm that these matches have stats on other websites. I can also confirm that at times the same match may fetch stats correctly, and sometimes it does not fetch the same match. I would recommend running the simple function above and test for yourself as it is easy to replicate. Usually, when you fetch the first time, you get almost all matches and their stats. But if you re-run the function a few times, the same matches will fetch null more and more often.

Rapid account: Tipsters
tipsters Commented vor 2 Jahren

Hi. Can you confirm that these matches have statistics?
Perhaps you get this because the match has no statistics, i.e. this is an unpopular game.

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

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