Getting info from API (simple)

Take a look at what you’re iterating over. $.each(data.top[0].game.box says “Take the top game, iterate over it’s boxart, and do something with each url”. You likely want $.each(data.top which says “Iterate over the top games”. Then you’d get the boxart with value.game.box.medium.

1 Like