Finaly do a poor implementation of Github.get_gists

This commit is contained in:
Vincent Jacques
2012-03-19 20:01:46 +01:00
parent 2469c6e1ae
commit a91131be42
4 changed files with 63 additions and 1 deletions
+7
View File
@@ -22,3 +22,10 @@ class Github:
def get_gist( self, id ):
return Gist( self, { "id": id }, lazy = False )
def get_gists( self ):
return [
Gist( self, attributes, lazy = True )
for attributes
in self._dataRequest( "GET", "/gists/public", None, None )
]