Thread:Project:Support desk/User contribution statistics by namespace/reply

The tool i want to build is something similar as the Supercounter (https://tools.wmflabs.org/supercount/index.php) but that tool will need API as i will use these data to create some analytical reports. how can i get the access/copy of the code of this tool?