Extension:Education Program/ListStudents API

The ListStudents API (available since 2014-05-15) can be used to pull together lists of student usernames (or user IDs).

Usage

 * Create a list of the course IDs for all the courses you want to collect student usernames from. Each ID should be separated by a pipe. You can find the ID of a course from the table at Special:Courses.
 * Replace en.wikipedia with wiki you want to query, and use a url of this form with your course ID list: http://en.wikipedia.org/w/api.php?action=liststudents&courseids=1|2|3|5|10|25|99|123
 * You can collect the usernames in a CSV format (one username per line) that can be copy-and-pasted into Wikimetrics by adding the "csv" parameter: http://en.wikipedia.org/w/api.php?action=liststudents&courseids=1|2|3&csv=
 * You can get the usernames grouped by course (instead of in one long list) by adding the "group" parameter: http://en.wikipedia.org/w/api.php?action=liststudents&courseids=1|2|3&group=
 * You can collect user IDs instead of usernames by adding the "prop=id" parameter: http://en.wikipedia.org/w/api.php?action=liststudents&courseids=1|2|3&group=&csv=&prop=id