GitLab Commits & Issues API

I have trying to develop a dashboard for my team where on entering the username through a form, it’ll pull out all the issues assigned to the user and also print the no. of commits by the user across the instance.

I have been able to get through the issue part but need some help on commits. Is there a way via API where we could the count / list of commits by the user across projects