An open API service indexing awesome lists of open source software.

https://github.com/jasonlong/json-contributions

Serverless function to get a JSON format of a user's GitHub contribution chart
https://github.com/jasonlong/json-contributions

contributions github serverless

Last synced: 10 months ago
JSON representation

Serverless function to get a JSON format of a user's GitHub contribution chart

Awesome Lists containing this project

README

          

Given a Github username and a year, return a JSON object with their contribution chart data. The function simply requests the user's profile page and scrapes the contribution chart data.

**Note: this is very alpha. No error checking at all.**

```
/api/user?username=&year=
```

Example: https://json-contributions.vercel.app/api/user?username=jasonlong&year=2018

#### Development

I've been using `vercel` for local dev. To load up a local server: `vercel dev`.