Mark Moeykens' Journal

NBA STATS APP

So excited to do this again!
(My own reference to the challenge requirements.)

:spiral_calendar: Day 1

  • No coding, just research. Not much time today.
  • Setup account with sportsdata.io and started the free trial
  • Created an Xcode project in Xcode 13 beta 2. Could be taking a chance here. :smiley:
  • Found the API for scores
  • Found the API endpoint for scores by date (to get yesterday’s data)
  • Found the API endpoint for schedules (it’s on the same page, so that’s handy)

Team Images

  • Looks like there’s a different endpoint called “Teams (All)” to get all the team images and color palettes?
  • Could be interesting to use these colors in the UI.

Problems

  • Thinking about how to cache the team info so I only need to get it one time. Thinking Core Data is a good solution, but man, I haven’t used Core Data for anything at work so I never really used it. Not sure how much time I want to invest in learning it.
  • Anything I start to learn usually turns into a separate reference product which is very time-consuming. So first, I’m going to research quicker solutions and maybe have to learn Core Data after. This will be a good challenge for sure!