2👍
The API includes a team
resource that includes shortName
. You would need to fetch the individual team info separately using the teams resource url.
https://api.football-data.org/v2/teams/{id}
In your example using the id of 65 for Man City
https://api.football-data.org/v2/teams/65
- [Vuejs]-Setting Vee-Validate initial value from API
- [Vuejs]-Protecting external config file in Vue js
1👍
One way is to have a predefined map of short names and add a computed property in your Vue component to match long names with short ones.
- [Vuejs]-What is the best practice to pass null to a required props in component in vuejs?
- [Vuejs]-Any difference between using this to access the watcher's value and using the argument?
Source:stackexchange.com