The problem required knowledge of retrieving data from API endpoints and parsing the resulting JSON. Typical coding assessments give the candidate data in a structure like an array or matrix or linked list or graph. Unless you have data retrieval front-of-mind, you will not do well.
Anonymous
Brush up on the Python "requests" package and parsing JSON.
Check out your Company Bowl for anonymous work chats.