Implement subscriptions (issue #70)

This commit is contained in:
Vincent Jacques
2012-09-08 01:54:51 +02:00
parent 5d67293676
commit 3be2e82b40
13 changed files with 395 additions and 6 deletions
+14
View File
@@ -328,6 +328,20 @@ class NamedUser( GithubObject.GithubObject ):
data
)
def get_subscriptions( self ):
headers, data = self._requester.requestAndCheck(
"GET",
self.url + "/subscriptions",
None,
None
)
return PaginatedList.PaginatedList(
Repository.Repository,
self._requester,
headers,
data
)
def get_watched( self ):
headers, data = self._requester.requestAndCheck(
"GET",