MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / get_stats_participation

Method get_stats_participation

github/Repository.py:3623–3632  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/stats/participation `_ :rtype: None or :class:`github.StatsParticipation.StatsParticipation`

(self)

Source from the content-addressed store, hash-verified

3621 ]
3622
3623 def get_stats_participation(self) -> StatsParticipation | None:
3624 """
3625 :calls: `GET /repos/{owner}/{repo}/stats/participation <https://docs.github.com/en/rest/reference/repos#get-the-weekly-commit-count>`_
3626 :rtype: None or :class:`github.StatsParticipation.StatsParticipation`
3627 """
3628 headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/stats/participation")
3629 if not data:
3630 return None
3631 else:
3632 return github.StatsParticipation.StatsParticipation(self._requester, headers, data)
3633
3634 def get_stats_punch_card(self) -> StatsPunchCard | None:
3635 """

Callers 1

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected