API-FOOTBALL

פרמיום
על ידי API-SPORTS | מְעוּדכָּן 14 days ago | Sports
פּוֹפּוּלָרִיוּת

10 / 10

חֶבִיוֹן

369ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

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 years ago

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות