API-FOOTBALL

FREEMIUM
Verified
Door API-SPORTS | Bijgewerkt 16 days ago | Sports
Populariteit

10 / 10

Latency

369ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

How to find the Team/Player id

Rapid account: Ariktulcha
ariktulcha
5 years ago

How to find the Team/Player id

Rapid account: Api Sports
api-sports Commented 5 years ago

Hello,

To get the ids of the players you have the endpoint /v2/players/{team_id} which allows you to get the list of players of a team and thus their ids.

For team ids you have to go through the endpoint /v2/teams/league/{league_id} which returns you the list of teams in a league

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen