def __init__(self, username, ignore_forks=False, ignore_repos=None, verbose=False):
        """

        :param username:
        :return:
        """

        # pull the git urls from github's api
        uri = 'https://api.github.com/users/%s/repos' % username
        data = requests.get(uri)
        repos = []
        for chunk in data.json():
            # if we are skipping forks
            if ignore_forks:
                if not chunk['fork']:
                    repos.append(chunk['git_url'])
            else:
                repos.append(chunk['git_url'])

        ProjectDirectory.__init__(self, working_dir=repos, ignore_repos=ignore_repos, verbose=verbose)
dataset/ETHPy150Open wdm0006/git-pandas/gitpandas/project.py/GitHubProfile.__init__/original