code: public int getRating(Reference reference, RatingType type, int userId) {
  		return getResourceFactory()
  				.getApiResource(
  						"/rating/" + reference.toURLFragment() + type + "/"
  								+ userId).get(SingleRatingValue.class)
  				.getValue();
  	}
docs: Returns the rating value for the given rating type, object and user.
  
  @param reference
  The reference to the object to get ratings for
  @param type
  The type of rating to return
  @param userId
  The id of the user for which to return the rating for
  @return The value of the rating