From: Dan Stillman <dstill...@zotero.org>
Date: Tue, 01 Mar 2011 14:33:00 -0500
Subject: Re: Some REST API questions
On 3/1/11 1:37 PM, urschrei wrote:
> Hello. If you're already parsing the XML, what does it matter where it is in > Having spent a day messing about the Zotero server REST API, and > implementing some of the API methods in Python (https://github.com/ > urschrei/pyzotero), I have some questions regarding it (and its > future, if anyone can comment): > 1. Are there plans afoot to update the format of the returned Atom the response? We're using Atom+XHTML so that any API URL works in a feed reader as well, but the XHTML should be pretty trivial to parse. > 2. Are there any plans afoot to offer the data in other formats. I was The write API which we're currently putting the finishing touches > thinking specifically of JSON. I haven't yet checked to see whether a > Zotero item can be completely mapped onto a JSON object (it's not easy > to find even a documented Atom representation. Shouldn't it be on the > same page as the REST API docs?), but again, it seems like an ideal > choice for at least a subset of an item's data. on uses JSON, so item responses, at least, will be returnable as JSON (i.e., content=json, as an alternative to the default content=html for an XHTML 'content' block). We'll have to see if this makes sense for other types of responses as well, but it's pretty easy to support if so. Eventually the API will probably support returning items in various You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||