An API that returns minimal GitHub contributions data for a user.
npm install npm startFor development:
npm run devSend a GET request to the API in the following format:
https://contributions-api.harryab.com/GITHUB_USERNAME?weeks=2And you will receive an array of the contribution levels over that time:
[0, 1, 3, 0, 0, 1, 0, 0, 1, 3, 0, 0, 1, 0]type Level = 0 | 1 | 2 | 3 | 4 export type Response = Level[]The original API repo fetches much more detailed info