API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 14 giorni fa | Sports
Popularity

10 / 10

Latency

369ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Players' Name pattern?

Hi,
I am wondering if there is an specific pattern for the Names, or if there is a chance to implement it.

I notice some names are full and others are shorter on purpose.

Like these example:

{6 items
"id":882
"name":“David de Gea”
“age”:32
"number":1
"position":“Goalkeeper”
“photo”:“https://media.api-sports.io/football/players/882.png
}
1:{6 items
"id":883
"name":“L. Grant”
“age”:39
"number":13
"position":“Goalkeeper”
“photo”:“https://media.api-sports.io/football/players/883.png
}

{6 items
"id":901
"name":“Mata”
“age”:34
"number":8
"position":“Midfielder”
“photo”:“https://media.api-sports.io/football/players/901.png
}

There are 3 type of formats in the same result (David de Gea , L. Grant and Mata), I am wondering if I can get an specific Name pattern with the current endpoints or is it something not supported yet?

Thanks in advance for the response

Rapid account: Api Sports
api-sports Commented 2 anni fa

Hi,

Unfortunately no, there is no predefined pattern for player names, it can vary from one endpoint to another due to different data sources, but you can rely on the ID which is always the same.

Best

Join in the discussion - add comment below:

Login / Signup to post new comments