Commit graph

5 commits

Author SHA1 Message Date
sneakypete81
854c4fd605 Small refactor of code that automatically converts returned dicts into objects for Album commands.
Add comments to handle API change when/if frontend issue number 937 lands
2012-09-04 20:36:26 +01:00
sneakypete81
f3c48d4f43 Add missing view method to ApiAlbum. 2012-09-04 17:39:03 +01:00
sneakypete81
fafeb70ec1 If an object is passed as a parameter, extract its ID.
This allows things like:
   photos = client.photos.list()
   client.photos.delete(photos)
2012-09-04 09:08:57 +01:00
sneakypete81
21c38c53cb Move api_ classes to be members of OpenPhoto (eg: client.photos_list --> client.photos.list) 2012-09-02 09:02:18 +01:00
sneakypete81
b418cf7e78 Extended API to add pythonic classes/methods. See the updated README.markdown for examples 2012-08-28 18:59:33 +01:00