Premier League Live Scores

FREEMIUM
Door Simone | Bijgewerkt 8 days ago | Sports
Populariteit

9 / 10

Latency

420ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

League player details not working

Rapid account: Bencabe 93
bencabe93
4 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”}

Rapid account: Heisenbug
heisenbug Commented 4 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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen