fetch_reviews


Description:

public GenericArray<unowned Review> fetch_reviews (Component cpt, uint start, uint limit) throws Error

Fetch user reviews for the given software component from the reviews server.

The reviews are sorted by their score (most helpful first), so subsequent pages can be requested by increasing start in steps of limit. This call does blocking network I/O.

Parameters:

this

an ReviewsClient instance.

cpt

the component to fetch reviews for.

start

index of the first review to fetch, for pagination.

limit

maximum amount of reviews to fetch, or 0 for the default limit.

Returns:

the fetched reviews, or null on error.