API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 5 days ago | Sports
Popularity

10 / 10

Latency

356ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Bug when fetching teams by country

Rapid account: Denisancelle
denisancelle
4 years ago

Hi,

Accessing url : https://api-football-v1.p.rapidapi.com/v2/teams/search/england give me country name instead of team name for each row (property name).

Someone else can confirm ?

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

I’ve just tested the endpoint and it does return teams with either the name or the country “England”.

see :
“results”:771
"teams":771 items
[100 items
0:{11 items
"team_id":10
"name":“England”
“code”:NULL
"logo":“https://media.api-sports.io/teams/10.png
“country”:“England”
“founded”:1863
"venue_name":“Wembley Stadium”
“venue_surface”:“grass”
“venue_address”:“Stadium Way, Wembley, Brent”
“venue_city”:“London”
“venue_capacity”:90000
}
1:{11 items
"team_id":33
"name":“Manchester United”
“code”:“MUN”
“logo”:“https://media.api-sports.io/teams/33.png
“country”:“England”
“founded”:1878
"venue_name":“Old Trafford”
“venue_surface”:“grass”
“venue_address”:“Sir Matt Busby Way”
“venue_city”:“Manchester”
“venue_capacity”:76212
}

Join in the discussion - add comment below:

Login / Signup to post new comments