So, let’s start with the next challenge, the NBA stats app
or as I call it, the MLB stats app.
The NBA is already in its finals, so there are only two teams playing for the championship. Setting up an app with your favorite team is … well, not the ideal moment in time
In contrast, the MLB regular season runs till the beginning of October. So there are a lot of games to be played by all teams. There are also leagues and divisions, so filtering can also used for MLB.
Let’s recap the requirements:
MUSTS:
- Retrieve data by API calls, using sportsdata.io
- Display the current scores (today’s scores if games are scheduled)
- Display past scores
- Display upcoming games
- Display the team logos of the pair of teams in every game
NICE TO HAVES:
- Display the standings, separated in leagues/divisions
- Let the user chose a favorite team and highlight that team in the scores and standing views