Need suggestion for getting item's note using API

Hello,

Basically, I am storing all items note in the database one by one using PHP script. First, I make a top level API call to get all top level item's key (/items/top ), after that, I loop all top level item's key and make multiple child item API call to get notes of the respective top level item (/items//children).

But here problem is that if I get 50+ items in top level API call I have to make another 50 children API to get notes and that is technically very time consuming. For the possible solutions, I have check official Zotero API documentation ( https://www.zotero.org/support/dev/web_api/v3/basics) but didn't get any worthy solution for it.

So, I want to know is there a way to get item notes inside top level API call? Or in the alternative is there a way I can pass multiple top level item keys in child item API call?

Thanks in Advance.
  • You do know the Zotero client stores its data in a sqlite database, right? Using Zotero to sync down the items and then extracting whatever information you need from its sqlite database into your own would be a much easier approach if your goal is to have a personal sql database of Zotero items.

    Either way, technical development discussion happens on the Zotero Dev mailing list, so please let's continue this there.
  • Okay, Thanks adomasven let me post this in Dev group.
Sign In or Register to comment.