Zotero API New Template to CSL
Hello!
When using the api to retrieve templates for items, what is the best way to map or translate that template to CSL? Such that a processor like citeproc-js could process it.
For example how to convert the retrieved book template to CSL...
GET /items/new?itemType=book
Thanks!
When using the api to retrieve templates for items, what is the best way to map or translate that template to CSL? Such that a processor like citeproc-js could process it.
For example how to convert the retrieved book template to CSL...
GET /items/new?itemType=book
Thanks!
I don't totally understand what you're trying to do.
That API call is for creating a Zotero item. If you want to export a Zotero item as CSL-JSON, you can do so with ?format=csljson after creating the item.
I believe I found a good option. https://www.npmjs.com/package/zotero-to-csl
Ill try it out!