예제 #1
0
파일: driver.py 프로젝트: mbad0la/octopy
 def notification(self, owner = None, repo = None):
     n = notifAPI(self.authbearer["login"], self.authstring, self.istoken)
     if owner is None and repo is None:
         return n.get_notifs()
     elif owner is not None and repo is not None:
         return n.repo_notif(owner, repo)
     else:
         return "[Missing Arguments]"
예제 #2
0
 def reponotif_driver(self,RepoOwner,RepoName):
     n = notifs.notifAPI(self.AccessToken)
     return n.repo_notif(RepoOwner,RepoName)
예제 #3
0
 def notif_driver(self):
     n = notifs.notifAPI(self.AccessToken)
     return n.get_notifs()