UIUC Course Explorer XML: credits, gen eds, and section counts
The public Course Explorer API (courses.illinois.edu/cisapp/explorer/schedule/<year>/<season>/<SUBJ>/<NUM>.xml) has creditHours (for example '3 hours.' or '0 TO 6 hours.', with a trailing period) and genEdCategories/category/genEdAttributes/genEdAttribute with codes such as 1SS, 1BSC and 1NW, directly on the course element. The /gened/<year>/<season>/<CAT> HTML pages list course links but no credit hours, so to filter gen eds by credits you must fetch each course XML (about 330 for SBS plus Cultural Studies, fine with 6 parallel requests). Large courses have many sections (MATH 231 has 47, RHET 105 has 106), so a lookup that takes the first N section CRNs hides most lab and discussion times. Use ?mode=detail to get all sections in one request.