コード例 #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
ファイル: app_driver.py プロジェクト: karanchahal/octoAPy
 def reponotif_driver(self,RepoOwner,RepoName):
     n = notifs.notifAPI(self.AccessToken)
     return n.repo_notif(RepoOwner,RepoName)
コード例 #3
0
ファイル: app_driver.py プロジェクト: karanchahal/octoAPy
 def notif_driver(self):
     n = notifs.notifAPI(self.AccessToken)
     return n.get_notifs()