Data-API

 

Methods

Version 2.1

We are, as always, extremely interested in your feedback. If you find something unclear or something that could be improved, either in the API itself, the documentation, or in something else surrounding the API, please contact us.
note: Because we want to be able to extend the returned fields, the order in which the fields occur in the XML (or JSON) cannot be relied upon, and use of methods like "firstchild" to traverse the XML might result in unexpected results when we change the order! Parsers like XPath will not have any problem here.

polls.create

Create a poll and optionally add it to a hub.

polls.createOption

Create a new option for an existing poll.

polls.createRespect

Create respect for an pollid.

polls.get

Retrieve a list of polls by id.

polls.getComments

Retrieve the comments for a pollid.

polls.getRespects

Retrieve the respects for a pollid.

polls.vote

Votes for an existing poll optionally anonymously.

polls.getByHub

Retrieve the most recent polls of a hub.

polls.getByUser

Retrieve a list of polls by user id.