Export API not working well !!

Hello,
we have a problem since the last update with the API. We update our database online with the api, so we use the call:

$url = "https://api.zotero.org/groups/{$zotero_group_id}/items/?key={$zotero_key}&format=rdf_zotero&limit=100&start={$i}";

since the last update of zotero, this call will not provide the same data as before, as an example we are missing too many fields, like "title", "language", ...etc.


this an old version of a response:

<bib:Book rdf:about="urn:isbn:978-0-691-16752-7">
<z:itemType>book </z:itemType>
<dc:publisher>
<foaf:Organization>
<vcard:adr>
<vcard:Address>
<vcard:locality>Princeton, NJ </vcard:locality>
</vcard:Address>
</vcard:adr>
<foaf:name>Princeton University Press </foaf:name>
</foaf:Organization>
</dc:publisher>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:surname>O'Connor </foaf:surname>
<foaf:givenname>Brian </foaf:givenname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<dc:subject>Idleness </dc:subject>
<dc:subject>Philosophie </dc:subject>
<dc:subject>Müßiggang </dc:subject>
<dc:subject>Muße </dc:subject>
<dc:subject>Faulheit : 4153792-0 </dc:subject>
<dc:identifier>ISBN 978-0-691-16752-7 </dc:identifier>
<dc:date>2018 </dc:date>
<z:language>Englisch </z:language>
<dc:title>Idleness. A philosophical essay </dc:title>
<z:numPages>203 </z:numPages>
</bib:Book>


and her is a new version for the same query :

<bib:Book rdf:about="urn:isbn:978-0-691-16752-7">
<z:itemType>book </z:itemType>
<dc:publisher>
<foaf:Organization> </foaf:Organization>
</dc:publisher>
<bib:authors>
<rdf:Seq>
<rdf:li>
<foaf:Person>
<foaf:surname>O'Connor </foaf:surname>
<foaf:givenname>Brian </foaf:givenname>
</foaf:Person>
</rdf:li>
</rdf:Seq>
</bib:authors>
<dc:subject>Faulheit : 4153792-0 </dc:subject>
<dc:subject>Idleness </dc:subject>
<dc:subject>Muße </dc:subject>
<dc:subject>Müßiggang </dc:subject>
<dc:subject>Philosophie </dc:subject>
</bib:Book>


as you see too many fields are missing !!



Regards
Wael Sidawi






Sign In or Register to comment.