def get_repos(self):
        """
        Gets the repos for the organization and builds the URL/headers for
        getting timestamps of stargazers.
        """
        print 'Getting repos.'
        #Uses the developer API. Note this could change.

        headers = {'Accept': 'application/vnd.github.v3.star+json', 'Authorization': 'token ' + self.token}
        temp_count = 0
        for repo in self.org_retrieved.iter_repos():
            temp_count += 1
            url = ('https://api.github.com/repos/' + self.organization_name + '/' + repo.name)
            self.repos[repo.name] = self.get_stargazers(url=url, headers=headers)
        self.calc_stargazers(start_count=650)
        print 'total count: \t' + str(self.total_count)
        print str(temp_count) + ' repos'