Closed ptgolden closed 11 years ago
Thanks! This looks great – I'll review it and merge as soon as I have time.
Merged and uploaded to PyPI. Thanks again!
Great, thanks! We interface with Zotero pretty extensively in Editors' Notes, but I'd just been using the API more or less haphazardly. I'm looking forward to using pyZotero instead.
When the Zotero API returns a JSON representation of an item, the keys are ordered in a way that is meaningful for a human editing that item. Item type is first, then title and authors, and so on. If a JSON return is loaded with OrderedDict instead of dict, this order can be preserved. This adds an argument to Zotero() to allow doing that.