T-Sajad / football-scores-app

1 stars 0 forks source link

PL-Satndings: Recieving nothing from the standings Endpoint request #1

Open T-Sajad opened 9 months ago

T-Sajad commented 9 months ago

Im trying to include the current premier league table in my web application. However Im recieving this message when I send the request {"message":"Endpoint '\/standings' does not exist"}.

T-Sajad commented 9 months ago

documentation: https://www.api-football.com/documentation-beta#tag/Standings/operation/get-standings

josephjclark commented 9 months ago

What is the full URL you're sending to?

T-Sajad commented 9 months ago

https://api-football-v1.p.rapidapi.com/standings?season=2023&league=39&team=47. I just tested itand its says I have a invalid api key. But i dont see whats the problem with my api key .Might need to chnage my api key but it works for the other requests.

josephjclark commented 9 months ago

The docs you've linked are for the V3 API, but your URL goes to the v1 api

josephjclark commented 9 months ago

It's also possible your api key is expired