Пример #1
0
 def get_issues_closed_count(self):
     # last week
     ls1 = len(rv('issues-closed-since-0-7', stop=-1))
     print ls1
     # week before
     ls2 = len(rv('issues-closed-since-7-14', stop=-1))
     
     return IssueCollection(ls1, ls2)
Пример #2
0
 def get_issues_opened_count(self):
     # last week
     ls1 = len(rv('issues-open-since-0-7', stop=-1))
     # week before
     ls2 = len(rv('issues-open-since-7-14', stop=-1))
     return IssueCollection(ls1, ls2)
Пример #3
0
 def get_top_contributors(self):
     return rv('top-contributors')
Пример #4
0
 def get_least_pulls(self):
     return rv('least-updated-pulls')
Пример #5
0
 def get_least_issues(self):
     return rv('least-updated-issues')
Пример #6
0
 def get_oldest_pulls(self):
     return rv("oldest-pulls")
Пример #7
0
 def get_oldest_issues(self):
     return rv("oldest-issues")