SportScore

फ्रीमियम
Verified
द्वारा Tipsters CO | अपडेट किया गया 22 дня назад | Sports
लोकप्रियता

9.9 / 10

लेटेंसी

135ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

Tennis Stats is an unstable API

Rapid account: Danikgan
danikgan
2 года назад

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 2 года назад

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 2 года назад

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 2 года назад

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.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें