def get_stargazers(self, url, headers={}):
        """
        Return a list of the stargazers of a GitHub repo

        Includes both the 'starred_at' and 'user' data.

        param: url
            url is the 'stargazers_url' of the form:
                https://api.github.com/repos/LLNL/spack/stargazers
        """
        url = url + '/stargazers?per_page=100&page=%s'
        page = 1
        gazers = []

        json_data = requests.get(url % page, headers=headers).json()
        while json_data:
            gazers.extend(json_data)
            page += 1
            json_data = requests.get(url % page, headers=headers).json()
        return gazers
def get_stargazers(self, url, headers={}):
        """
        Return a list of the stargazers of a GitHub repo

        Includes both the 'starred_at' and 'user' data.

        param: url
            url is the 'stargazers_url' of the form:
                https://api.github.com/repos/LLNL/spack/stargazers
        """
        url = url + '/stargazers?per_page=100&page=%s'
        page = 1
        gazers = []

        json_data = requests.get(url % page, headers=headers).json()
        while json_data:
            gazers.extend(json_data)
            page += 1
            json_data = requests.get(url % page, headers=headers).json()
        return gazers
def get_stargazers ( self , url , headers = { } ) : url = url + '/stargazers?per_page=100&page=%s' page = 1 gazers = [ ] json_data = requests . get ( url % page , headers = headers ) . json ( ) while json_data : gazers . extend ( json_data ) page += 1 json_data = requests . get ( url % page , headers = headers ) . json ( ) return gazers
Return a list of the stargazers of a GitHub repo

        Includes both the 'starred_at' and 'user' data.

        param: url
            url is the 'stargazers_url' of the form:
                https://api.github.com/repos/LLNL/spack/stargazers
Return a list of the stargazers of a GitHub repo