I'm trying to use apis with different responses, a simpler one, returns only one piece of data, worked correctly. The other returns a list, and this one I was unable to capture the elements within the construct.
example response_api_array
[
{
"idjogador": 209,
"nome": "Robert Abel Arboleda Escobar",
"primeironome": "Robert Abel",
"ultimonome": "Arboleda Escobar",
"nascimento": "1991-10-22T00:00:00.000Z",
"lugar": "Esmeraldas",
"nacionalidade": "Ecuador",
"altura": "187 cm",
"posicao": "Defender",
"nomepais": "Ecuador",
"foto": "https://media.api-sports.io/football/players/2571.png"
},
{
"idjogador": 206,
"nome": "Jonathan Calleri",
"primeironome": "Jonathan",
"ultimonome": "Calleri",
"nascimento": "1993-09-23T00:00:00.000Z",
"lugar": "Buenos Aires",
"nacionalidade": "Argentina",
"altura": "181 cm",
"posicao": "Attacker",
"nomepais": "Argentina",
"foto": "https://media.api-sports.io/football/players/47368.png"
}
]