API.fetchBookComments

This SOAP-based API is deprecated. Please use the REST-based API instead.
This action allows you to get the comments of a publication.

Request

Name Type Description
api_key (required) string Use your API key
login (required) string Use the e-mail address of an account profile that has access to the APIs.
md5_pwd (required) string Use the password from the profile, encrypted in MD5 format.
book_code (required) string Unique identifying key for the publication, supplied in the « Your publications » page.
order string String of characters used to define the organization criteria of the comments. Only Date is available for now.
way string String of characters used to define the sort order. Either UP (default) or DOWN.
start integer Start position of the range of comments. Default is 0.
step integer Number of comments to be sent from the start position.

Response

Returns an array of comments:

Name Type Description
PosterID string ID of the comment poster.
PosterName integer Name of the comment poster.
PosterPublicUrl integer Absolute URL for the comment poster’s page.
PosterThumbUrl integer Absolute URL for the comment poster’s thumbnail.
Date integer Date of the comment.
Text integer Text of the comment.

Error codes

See the error code section.