I need to get enrollments for each section in each course in semesters of interest. To do this, I load the list of semesters to get numeric IDs, filter those, then walk the semesters and get a list of courses and filter those, then walk the courses, then walk the sections, then for each of those, walk the roles, then walk the enrollments.
This way, I have to make an API call for each node in the tree. Is there any way to make a filtered, recursive API call that will get, say, filtered enrollments for a semester?
Surely there is something better (without learning a new technology). I just want to stick to HTTPS API calls.