I'm collecting GitHub issue statistics over time on our project: total number of issues, number of issues with a particular label, number of issues in a given state (open/closed). Right now, I have a Python script to parse the project webpage with the desired labeling/state for the info I want, e.g.,
http://github.com/<projectname>/issues?label=<label_of_interest>&state=<state_of_interest>However, parsing the HTML is fragile since if the GitHub API changes, more often than not, my code fails.
Кто-нибудь описывает, как использовать GitHub API (или, за исключением этого, знать какой-то другой способ, предпочтительно на Python) для сбора этой статистики, не полагаясь на базовый HTML?