gg.photos.ratings.getRating

Get average rating for the photo.

Request URL

http://api.guregipuzkoa.net/services/rest/?method=gg.photos.ratings.getRating

Authentication

No authentication required

Arguments

key (Required)
Your API application key.
photo_id (Required)
The id of the photo to get information for.

Example Response

<rsp stat="ok">
	<photo photo_id="12">
		<rate>5</rate>
	</photo>
</rsp>
                

Error Codes

300 - Invalid Photo ID
The photo_id sent is not valid
700 - Invalid credentials
The given authentication values (Token or API) is invalid.
203 - Insufficient parameters
The required arguments are missing