Commit graph

7 commits

Author SHA1 Message Date
Pete
e09f166743 Update delete endpoints to return True if successful.
If the operation isn't successful, the API returns an error code,
which raises an OpenPhotoError exception.
2013-04-09 18:18:12 +01:00
sneakypete81
29b4c65b9a Update comment 2013-03-16 08:53:29 +00:00
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