8000 GitHub - rschristian/github-contribution-calendar-api: Cloudflare Worker for retrieving data used in GitHub's contribution calendar
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cloudflare Worker for retrieving data used in GitHub's contribution calendar

License

Notifications You must be signed in to change notification settings

rschristian/github-contribution-calendar-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Contribution Calendar API

This is a simple API to extract the contribution data that goes into forming the calendar shown on a a user's GitHub profile page.

Set up to run as a Cloudflare Worker (serverless function), but ea 6DD3 sily adaptable if you'd like to extract and run it elsewhere.

Usage

You can find an interactive instruction page to test the data here: https://gh-calendar.rschristian.dev

An instance of this API is available here: https://gh-calendar.rschristian.dev/user/{username}

However, availability of this is not guaranteed and service may go down without warning.

Query Parameters

Additionally, a few query arguments are supported:

  • year

    • Type: Number

    • Default: null

      Use this to customize which year's data you'd like. By default, the API returns the last 365 days rather than a calendar year.

  • limit

    • Type: Number

    • Default: null

      Unlikely to be useful, but limits the data returned to the first X number of weeks in the data set.

Give it a star if this is useful for you.

License

MIT © Ryan Christian

About

Cloudflare Worker for retrieving data used in GitHub's contribution calendar

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  
0