i try to build mini website that i can add every match on new post and i want to use meta boxes .
my idea is :
editor first choose the league (ex : italy , spain , england ... etc) then the second box the select box with all team show (this is for team1) then same for team 2 , i don't want use deferent field for each league ,
can i get field value from API ? like i add (ID-field) and when i fill it with match ID from the API the other fields fill via API like , start time , location , country , stadium ... etc