python - clone url of a pull request -


i'm trying clone url of pull request. example in ruby using octokit library, can fetch head , base so, pr pullrequest object: pr.head.repo.clone_url or pr.base.repo.clone_url. how can achieve same thing using github3.py?

github3.pull_request(owner, repo, number).as_dict()['head']['repo']['clone_url']


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo