sourcerer-io / sourcerer-app

🦄 Sourcerer app makes a visual profile from your GitHub and git repositories.
https://sourcerer.io/start
MIT License
6.73k stars 281 forks source link

Feature Request: API for retrieving Profile Statistics #564

Open caseyjkey opened 4 years ago

caseyjkey commented 4 years ago

I would like to display on my online portfolio my Github commits per language for a given time frame and overall. For example, I could show three circular progress bars which show the percentage of code on my Github profile using data from Sourcerer. Does Sourcerer expose an API which I could query to get statistics? Additionally, it would be nice if users can query for their contribution language distribution the past week and month like #468 mentions. This would be great building a snapshot of a user's programming activity outside of the Sourcerer generated report.

If there is a tool I can use which can accomplish this, please recommend it. I really like Sourcerer but I don't know how to embed its insights into my portfolio website. I'd like to keep everything a single page and not have links going out. So, something like an embeddable widget would be nice like #469 mentions.

caseyjkey commented 4 years ago

Having an API for profile statistics would allow for dynamic language badges. I went to generate those HTML elements from the sourcerer.io profile page and noticed they would remain the same value and need updated manually. Not viable for implementing onto a personal website.