Open FranciscoCerqueira opened 10 months ago
I was thinking about this today and working out how to log multiple colours, so teams like Southampton get both the red & white such as:
{
team: {
id: 41,
name: 'Southampton',
code: 'SOU',
country: 'England',
founded: 1885,
national: false,
logo: 'https://media-4.api-sports.io/football/teams/41.png',
colors: [
'#ff0000',
'#ffffff'
]
},
venue: {
id: 585,
name: "St. Mary's Stadium",
address: 'Britannia Road',
city: 'Southampton, Hampshire',
capacity: 32689,
surface: 'grass',
image: 'https://media-4.api-sports.io/football/venues/585.png'
}
},
But then this would open up a few questions:
So a single hex for this clubs colour would be best.
Hi guys,
It would be great if instead of just logo, we have the team colors available as well - we may not want to display the logo avoiding any commercial problem displaying it, but knowing the team colors we could customize the UI based on that.
If you could add two or three properties per team with their colors, like blue and white for Chelsea, green, white and red for Italy, etc, it would help a lot to customize interfaces.
Thanks!
Francisco