grubersjoe / react-github-calendar

A React component to display a GitHub contributions calendar
https://grubersjoe.github.io/react-github-calendar
MIT License
453 stars 40 forks source link

support for self-hosted API #112

Closed bobbytxt closed 3 weeks ago

bobbytxt commented 4 weeks ago

Hey, I use react-github-calendar in my project, and it's been great, but I was wondering if there will ever be support for allowing react-github-calendar to retrieve data from a self-hosted API rather than the public API. Would I have to use react-activity-calendar instead?

grubersjoe commented 3 weeks ago

Hey. Exactly, you should use react-activity-calendar in this case. Simply fetch the data you want and pass it on. This component is only a thin wrapper around react-activity-calendar and does the same.