:calls: `GET /repos/{owner}/{repo}/stats/punch_card `_ :rtype: None or :class:`github.StatsPunchCard.StatsPunchCard`
(self)
| 3632 | return github.StatsParticipation.StatsParticipation(self._requester, headers, data) |
| 3633 | |
| 3634 | def get_stats_punch_card(self) -> StatsPunchCard | None: |
| 3635 | """ |
| 3636 | :calls: `GET /repos/{owner}/{repo}/stats/punch_card <https://docs.github.com/en/rest/reference/repos#get-the-hourly-commit-count-for-each-day>`_ |
| 3637 | :rtype: None or :class:`github.StatsPunchCard.StatsPunchCard` |
| 3638 | """ |
| 3639 | headers, data = self._requester.requestJsonAndCheck("GET", f"{self.url}/stats/punch_card") |
| 3640 | if not data: |
| 3641 | return None |
| 3642 | else: |
| 3643 | return github.StatsPunchCard.StatsPunchCard(self._requester, headers, data) |
| 3644 | |
| 3645 | def get_subscribers(self) -> PaginatedList[NamedUser]: |
| 3646 | """ |
no test coverage detected