Site
Home / Forum / General Discussion / Get all footballer name at once

Get all footballer name at once


Posted: 27 Sep 2023 08:53
Carbon
User
Posts: 8
Joined: 2023

Hello,

I want to build a custom json with like :

[
{
"name": "Sergio Ramos",
},
]

I want to have all possible name in sports db database.

Is this possible with only one api call or do i have to work with variable parameters ?

Thank you

transparent spacer
Posted: 27 Sep 2023 09:19

zag
Admin
Posts: 3,853
Joined: 2020

Hello,

I want to build a custom json with like :

[
{
"name": "Sergio Ramos",
},
]

I want to have all possible name in sports db database.

Is this possible with only one api call or do i have to work with variable parameters ?

Thank you


This post should really be in the developer section, but I will try to answer here.

If you want all players on the site, then you would probably need to itterate through the player ID's 1 by one.

Certainly you are not going to do it in one call for 62,500 players :P

transparent spacer
Posted: 27 Sep 2023 12:46
Carbon
User
Posts: 8
Joined: 2023

Sorry for the wrong destination, thank you for the reply


transparent spacer
Showing 0 to 3 (Total: 3)