Premier League Live Scores

FREEMIUM
By Simone | Updated a year ago | Sports
Popularity

8.5 / 10

Latency

6,613ms

Service Level

80%

Back to All Discussions

League player details not working

avatar
bencabe93
2 years ago

Hello,

It appears as if the league player details endpoint may not be working. When I use the following code as suggested:

import requests

url = "https://heisenbug-premier-league-live-scores-v1.p.rapidapi.com/api/premierleague/players"

querystring = {"team":"Arsenal"}

headers = {
    'x-rapidapi-host': "heisenbug-premier-league-live-scores-v1.p.rapidapi.com",
    'x-rapidapi-key': "XXXXXXX"
    }

response = requests.request("GET", url, headers=headers, params=querystring)

The response I retrieve is the following:

{“error”:“No data found, player and/or team requested aren’t in the database”}

avatar
heisenbug commented 2 years ago

Hi,
thanks for your feedback,
some data should be available just now, however, it will take a week or two before all the players are in the right place with all the right data (market session is still open).
bye

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 4 - Votes: 2