recreating the contributions graph

Hello all,

Does anyone know which of the APIs I could use to recreate the contributions graph or atleast get all of the data for it?

Hi @chrisopacki,

Thank you for being here and my sincere apologies for the delay in response. There is not an API specific to contributions.

The Events API allows you to choose different event types that are used to render elements like the contributions graph. You could experiment with that API to retrieve what you’re looking for.

If it helps to retrieve statistics for a user for specific repositories, you could also try the Repository Statistics API. This is the same data used to generate graphs such as those seen at https://github.com/git/git/graphs/contributors.