Skip to content

Commit

Permalink
new collection methods
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 1, 2016
1 parent 53913c3 commit 19bc9df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/budy/collection.py
Expand Up @@ -47,3 +47,8 @@ def list_collections(self, *args, **kwargs):
**kwargs
)
return contents

def get_collection(self, id):
url = self.base_url + "collections/%d" % id
contents = self.get(url, auth = False)
return contents

0 comments on commit 19bc9df

Please sign in to comment.