get, via GitHub API, all public repos a GitHub user has made commit(s) to

Hi,
For a GitHub user foo, is it possible, via the GitHub v[3|4] API, to get all the public repos user foo has made commits to?   

Thanks.

Hi @hseuming Thanks for participating in the Community Forum! Because this question is specifically about the GitHub API, you might have better luck asking our Platform Forum here:

https://platform.github.community/

That community is full of people who work on and with the GitHub API pretty regularly, and while some of them may be here, too, that forum has a wealth of information on the API already and someone might be able to help faster there than here on this particuar topic, for now.