Commit graph

21 commits

Author SHA1 Message Date
sneakypete81
9968d7f265 Delete methods should raise exception on failure, rather than returning False 2013-06-30 17:34:41 +01:00
sneakypete81
48e29f24a9 PyLint fixes
Moved credentials into new Config class
2013-05-25 11:33:41 +01:00
sneakypete81
b2e7aa1f27 Trailing whitespace removal 2013-05-25 11:33:41 +01:00
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
c4ea338f49 Workarounds for APIv1 issues 2013-05-06 21:27:31 +01:00
sneakypete81
1b2f0cd869 Merge branch 'master' into api_versioning
Conflicts:
	tests/test_tags.py
2013-04-28 18:38:13 +01:00
sneakypete81
c7c3b4bdb5 Merge branch 'master' into api_versioning
Conflicts:
	tests/test_base.py
2013-04-28 15:42:22 +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
sneakypete81
5641ce103a Merge pull request #27 from sneakypete81/apiv2_frontend_bugfixes
Changes due to photo/frontend album bugfix
2013-04-28 06:59:02 -07:00
sneakypete81
7501c8ca77 next/previous fields are lists in APIv2, but single photo ids in APIv1. 2013-04-20 12:12:40 +01:00
sneakypete81
ea904e4337 Not that frontend issue 955 is resolved, we should use the return value of the transform API to replace the photo object's fields 2013-04-13 13:11:26 +01:00
sneakypete81
ee3840de9f Merge branch 'master' into transform 2013-04-13 13:05:14 +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
ac5d5895a1 Ensure tag endpoints are correctly escaped 2013-03-24 12:18:32 +00:00
sneakypete81
07745f1496 Frontend issue 937 is now resolved - album.update now returns the updated album 2013-03-23 16:45:24 +00:00
Pete
895b98dedf Next/previous now returns a list of multiple photos (Issue #1004) 2013-03-16 08:51:04 +00:00
sneakypete81
4147029b14 Add photo.transform support and testcase. 2012-09-10 23:57:42 +01: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
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
b418cf7e78 Extended API to add pythonic classes/methods. See the updated README.markdown for examples 2012-08-28 18:59:33 +01:00