urschrei / pyzotero

Pyzotero: a Python client for the Zotero API
https://pyzotero.readthedocs.org
Other
908 stars 99 forks source link

Software itemType #158

Closed Mjvolk3 closed 1 year ago

Mjvolk3 commented 2 years ago

Could you support the software itemType? From looking at the tested item_types.json it doesn't look supported. Thanks!

Mjvolk3 commented 2 years ago

Could you also support preprint?

urschrei commented 2 years ago

Available item types are governed by the return value of the Zotero API /itemTypes call and retrieved using pyzotero.item_types(). Currently, Software is the localized string of the computerProgram item type and Preprint is the localized string of the preprint item type. When retrieving an item template in order to create new items you have to specify the itemType, not the localized string.

As per the issue template, please provide context and concrete data about what you're trying to do and what went wrong when you tried to do it, otherwise I have to try to infer whether there's a bug or a misunderstanding, which can be an unreliable process…