I am building A fantasy app

I want to display the list of league and allowed user to select the team that will win the match this will be fetch from api, at end of the week i want to compare the user selected team to the api to determine who win the match and reward a point

any idea or help