It doesn't work that way.
![Smiley :)](https://mibew.org/forums/Smileys/default/smiley.gif)
I can try to help you by answering some concrete questions, i.e. 'how can one get the list of groups?", or "how can one get the number of closed threads for a given day?", etc. But I will not do all the job for you. Two reasons: it's boring (I've got much more interesting things to do) and it's unfair (you did nothing neither for the project, nor for me personally). Moreover, I have serious doubts that you'll open your source code once it will be written.