-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are new Zotero beta notes and annotations (not saved in the PDF) retrievable in Pyzotero? #148
Comments
This is really a question for the Zotero Web API maintainers: I'm not aware of any Web API methods that allow retrieval of the annotations. The google group is probably the best place to ask: https://groups.google.com/g/zotero-dev If there are methods available, I'll add them to Pyzotero. |
Thanks for your quick reply. As per following discussion (https://forums.zotero.org/discussion/90753/zotero-beta-integration-with-external-note-taking-tools), web API access to all annotations made in the new PDF editor is available even now. However, annotations aren't yet documented in the web API docs, even though Zotero itself syncs them via the API as a new item type. Thanks again |
Yep, this is the tracking issue: zotero/dataserver#113. In the mean time, retrieving annotations using |
How can I retrieve all annotations? Calling |
Have you tried wrapping the call in Zotero.everything() as per the docs?
https://pyzotero.readthedocs.io/en/latest/#zotero.Zotero.everything
You can also try to build up a list of lists of annotations using one of the generator methods at
https://pyzotero.readthedocs.io/en/latest/#the-follow-and-everything-methods
And then flatten it.
…--
steph
On 19 Dec 2021, at 19:28, Essi Alizadeh ***@***.***> wrote:
How can I retrieve all annotations? Calling items(itemType="annotation") returns 100 items only. Even passing limit with a higher number than 100 still returns 100 annotations.
When calling count_items(), I can see that the number increases when I'm adding a new annotations, and I can see the annotation when calling items(itemType="annotation"). However, I'm not able to retrieve older annotations to start with!!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Thanks a lot. |
No description provided.
The text was updated successfully, but these errors were encountered: