This is an task for you to learn more about the APIQuery construct. Shouldn't take more than 1-2 lines of code.