code: public TypeRating getRatings(Reference reference, RatingType type) {
  		return getResourceFactory().getApiResource(
  				"/rating/" + reference.toURLFragment() + type).get(
  				TypeRating.class);
  	}
docs: Get the rating average (for fivestar) and totals for the given rating
  type on the specified object.
  
  @param reference
  The reference to the object to get ratings for
  @param type
  The type of rating to return
  @return The ratings for the type