Commit graph

142 commits

Author SHA1 Message Date
sneakypete81
29b4c65b9a Update comment 2013-03-16 08:53:29 +00:00
sneakypete81
d3eff3edb9 album.view now requires includeElements=True in order for the album contents to be returned (issue #953) 2013-03-16 08:52:57 +00:00
Pete
895b98dedf Next/previous now returns a list of multiple photos (Issue #1004) 2013-03-16 08:51:04 +00:00
Pete
4ccdceb601 Private (visible=False/True) albums are no longer supported.
Tag count is now returned as an integer
Explicitly add test tags, rather than removing autogenerated tags
2013-03-16 08:50:44 +00:00
Pete
eeffec991f Handle the case where an empty response is returned (possibly related to Issue #1086) 2013-03-16 08:50:17 +00:00
sneakypete81
d815b23414 Updating transform branch to head of master 2013-03-13 08:59:45 +00:00
James Walker
925342072d Merge pull request #13 from sneakypete81/master
Make the library more Pythonic
2013-03-12 14:01:28 -07:00
sneakypete81
676ec2a250 Update documentation with config file details 2013-02-18 08:45:00 +00:00
sneakypete81
06d1245af0 Only print config file location if verbose switch is set. 2013-02-18 08:34:27 +00:00
sneakypete81
3918b83c1c Add support for config dotfiles 2013-02-17 17:41:43 +00:00
Pete
be63881301 Add EXIF date/time to test images, so the next/previous links work correctly (workaround for issue #1038) 2013-02-09 15:31:34 +00:00
Pete
889c5fa79a Fix incorrect filename in comment 2013-02-09 14:58:08 +00:00
Pete
682a2ac85d Handle the case where an empty response is returned (possibly related to Issue #1086) 2013-02-09 14:57:39 +00:00
sneakypete81
0ef3abe79e Updated README with usage fixes and additional description of how the classes map to the OpenPhoto API 2012-12-21 18:23:42 +00:00
sneakypete81
4147029b14 Add photo.transform support and testcase. 2012-09-10 23:57:42 +01:00
sneakypete81
b900b2abd3 Fix private album testcase 2012-09-09 13:07:57 +01:00
sneakypete81
14125fb6af Convert list parameters to unicode strings.
Previously ["1", 2] would fail, since 2 is not a string.
2012-09-09 13:07:31 +01:00
sneakypete81
ba5be69bec Added tests for Python API library 2012-09-04 22:08:48 +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
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
8307dca454 On second thoughts, don't print anything on JSON error, since the response is stored in .last_response anyway 2012-09-02 09:00:27 +01:00
sneakypete81
b1fe398952 Print the raw response content if JSON parsing fails 2012-08-30 18:54:43 +01:00
sneakypete81
1a16f5b00a Merge branch 'master' of http://github.com/sneakypete81/openphoto-python 2012-08-29 16:57:32 +01:00
sneakypete81
061ff8e7af Fixed photos batch methods 2012-08-29 16:54:47 +01:00
sneakypete81
cbbf5d56c7 Combine get/post variants into a single set of methods with a process_response parameter.
Remember the most recent HTTP request and response to help with debugging.
2012-08-28 21:03:08 +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
James Walker
ccc6e6ba1c fix #7 properly handle unicode characters 2012-04-22 23:09:13 -04:00
James Walker
88e00634e1 Fix #9 - include LICENSE file 2012-04-16 19:16:28 -04:00
James Walker
d88d3d7ebb Merge pull request #11 from oscherler/master
Fix the command line tool to actually use the -F options.
2012-04-16 16:12:44 -07:00
Olivier Scherler
4983a18905 Added fields to verbose output. 2012-04-17 00:25:47 +02:00
Olivier Scherler
d370aa6209 Don’t forget to actually use those thoroughly processed -F options. 2012-04-17 00:24:32 +02:00
James Walker
f3683c794f Merge pull request #8 from cbhl/update-readme
Remove reference to OpenPhotoOAuth.php from the README.markdown
2012-02-18 13:51:29 -08:00
Michael Chang
ca5807be30 Remove reference to OpenPhotoOAuth.php from the README 2012-02-18 16:14:00 -05:00
James Walker
5648de1fb8 Merge remote-tracking branch 'k0s/master' 2012-01-23 01:29:23 -05:00
Jeff Hammel
ab14ca7efc * use /photos/list.json as the default endpoint, a la https://github.com/openphoto/openphoto-php
* add documentation for undocumented CLI arguments
2012-01-22 22:12:23 -08:00
Jeff Hammel
d9a9e77972 https://github.com/openphoto/openphoto-python/issues/4 2012-01-22 21:58:12 -08:00
James Walker
50f9d0b0ab fix #4 - switch to setuptools/distribute so oauth2 installs 2012-01-23 00:53:02 -05:00
Jaisen Mathai
6db79dae1b Merge pull request #3 from walkah/master
Initial python client library
2012-01-21 19:01:21 -08:00
James Walker
259a2f2e56 initial (working) version of python client library (including CLI script) 2012-01-21 20:27:48 -05:00
John McFarlane
8971eba9f9 Initial import 2011-12-03 22:24:02 -08:00