Commit graph

8 commits

Author SHA1 Message Date
sneakypete81
ba681cea89 Code tidyup after 2to3 conversion
Moved config parser into its own module
2013-05-25 11:33:41 +01:00
sneakypete81
0805f032fb Python3 support 2013-05-25 11:33:41 +01:00
sneakypete81
6d5fe4433c Merge branch 'master' into apiv2_tags
Conflicts:
	openphoto/objects.py
	tests/test_tags.py
2013-04-28 15:29:33 +01:00
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
b56e690d33 Frontend issue 927 is now fixed, so the tag.create endpoint can be used.
The tag.create endpoint doesn't return the newly created tag - it is invisible, since it has no photos.
2013-03-24 12:18:32 +00: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