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”}
Doe mee aan de discussie - voeg hieronder een opmerking toe
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