Exporting assignment grade

We have set up SLK on sharepoint and it's working quite well, but we also have requirement to export grades from slk to external system. What we basically need is the user name, assignemnt name, learner score and maximum score for that particular assignment.
Maybe some of you already did such a thing and could share your thoughts or point me in the right direction? Maybe there is some bulit-in solution for that?