Commit graph

4 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
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