def fetch(self):
        count = 0
        page = 1
        while True:
            r = requests.get(self.api_url, params={
                'page': page, 'per_page': 100
            })
            c = len(r.json)
            count += c
            page += 1
            if c < 100:
                break
        return count
Request the specified GitHub API URL with 100 items per page. Loop over
dataset/ETHPy150Open django/django-dev-dashboard/dashboard/models.py/GithubItemCountMetric.fetch