I want to creat a fantasy app

i have api where i fetch the game, i want to reward point base on the users selection,. my problem is how to check if the game user selected wins, i have api to retrieve the result of the game
this the api sample for the result

[
    {
        "id": "572d984e132eddaac3da93e5db332e7e",
        "sport_key": "basketball_nba",
        "sport_title": "NBA",
        "commence_time": "2022-02-06T03:10:38Z",
        "completed": true,
        "home_team": "Sacramento Kings",
        "away_team": "Oklahoma City Thunder",
        "scores": [
            {
                "name": "Sacramento Kings",
                "score": "113"
            },
            {
                "name": "Oklahoma City Thunder",
                "score": "103"
            }
        ],
        "last_update": "2022-02-06T05:18:19Z"
    },
    {
        "id": "e2296d6d1206f8d185466876e2b444ea",
        "sport_key": "basketball_nba",
        "sport_title": "NBA",
        "commence_time": "2022-02-06T03:11:26Z",
        "completed": true,
        "home_team": "Portland Trail Blazers",
        "away_team": "Milwaukee Bucks",
        "scores": [
            {
                "name": "Portland Trail Blazers",
                "score": "108"
            },
            {
                "name": "Milwaukee Bucks",
                "score": "137"
            }
        ],
        "last_update": "2022-02-06T05:21:01Z"
    },
    {
        "id": "8d8affc2e29bcafd3cdec8b414256cda",
        "sport_key": "basketball_nba",
        "sport_title": "NBA",
        "commence_time": "2022-02-06T20:41:04Z",
        "completed": true,
        "home_team": "Denver Nuggets",
        "away_team": "Brooklyn Nets",
        "scores": [
            {
                "name": "Denver Nuggets",
                "score": "124"
            },
            {
                "name": "Brooklyn Nets",
                "score": "104"
            }
        ],
```any help on how to set this up will be appreciated