fetch_rating_for_id


Description:

public int fetch_rating_for_id (string component_id) throws Error

Fetch the overall user rating for the given software component ID from the reviews server, as a percentage value (where 100% means a perfect five-star rating).

This call does blocking network I/O.

Parameters:

this

an ReviewsClient instance.

component_id

the ID of the software component to fetch the rating for.

Returns:

the overall rating percentage, or -1 if no rating was available.