This is the same question as this one, but for Github instead of JIRA
Hi,
I’m developing FreedomSponsors – a crowdfunding platform for open source projects.
I want to improve the “Sponsor new issue” screen by pre-filling some information, based on the issue’s URL.
My next “target” is the Github issue tracking system.
Given a URL like https://github.com/whit537/www.gittip.com/issues/14, What’s the best way to extract information like:
- 1: issue key: 14
- 2: project issue tracker URL: https://github.com/whit537/www.gittip.com/issues
- 3: project title: http://www.gittip.com
(ok, these are easy, it’s all in the URL)
and
- 4: issue title: pay with bitcoin, litecoin
I’m using python
Github has an API for issues, thats going to be your best bet.
http://developer.github.com/v3/issues/