You can see below the API reference of this module.
GitHubCalendar(container, username, options)
Brings the contributions calendar from GitHub (provided username) into your page.
**String | HTMLElement** container : The calendar container (query selector or the element itself). |
username
: The GitHub username.options
: An object containing the following fields:
summary_text
(String): The text that appears under the calendar (defaults to: "Summary of
pull requests, issues opened, and commits made by <username>"
).proxy
(Function): A function that receives as argument an url (string) and should return the proxied url.
The default is using @izuzak’s urlreq
.global_stats
(Boolean): If false
, the global stats (total, longest and current streaks) will not be calculated and displayed. By default this is enabled.responsive
(Boolean): If true
, the graph is changed to scale with the container. Custom CSS should be applied to the element to scale it appropriately. By default this is disabled.fetch()
call.